cortex-react-components 1.46.2 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-PBKAWMUU.mjs → chunk-35XLNF3G.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7PWDA3UD.mjs → chunk-4GX7CE6Y.mjs} +1 -1
- package/dist/{chunk-H4NT35II.mjs → chunk-4NYS3NVA.mjs} +1 -1
- package/dist/chunk-5F7XZ6XK.mjs +1 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-SOZ265PX.mjs → chunk-6KJKKF7P.mjs} +1 -1
- package/dist/{chunk-BK5FPGFH.mjs → chunk-74KJ5V34.mjs} +1 -1
- package/dist/{chunk-KJBMLPHS.mjs → chunk-7FMMXR7S.mjs} +1 -1
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-PGSQ2PAH.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-4ZT572BM.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-PKB6F4J5.mjs → chunk-B7DV5BIM.mjs} +1 -1
- package/dist/{chunk-654RXN5C.mjs → chunk-BI3AMPYD.mjs} +1 -1
- package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
- package/dist/{chunk-4OQHZ5FW.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-PV7GB4V4.mjs → chunk-E2LKSCDR.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-MZVYPHE3.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-4QHYOUY7.mjs → chunk-ETZFHPXX.mjs} +1 -1
- package/dist/{chunk-6G2YEF4M.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-XHDR7I54.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
- package/dist/{chunk-7QOBENUU.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-KQE42INF.mjs → chunk-I5EBXVLE.mjs} +1 -1
- package/dist/{chunk-HE3WBVX5.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-M24IHGNE.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-TKACTYOE.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-7OHZFWIJ.mjs → chunk-MLLI6A3T.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-FOMKMFJX.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/{chunk-W66SVCJY.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
- package/dist/{chunk-TCJJQBFS.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContent.css +1 -0
- package/dist/components/Blocks/ReusableContent.d.ts +8 -0
- package/dist/components/Blocks/ReusableContent.js +4 -0
- package/dist/components/Blocks/ReusableContent.mjs +1 -0
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.d.ts +12 -2
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +183 -183
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +300 -3
- package/dist/payload-types.js +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-QEJAJJSS.mjs +0 -1
- package/dist/chunk-XZEJC3UX.mjs +0 -1
- package/dist/chunk-ZSRAJP4K.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var $e=Object.create;var _=Object.defineProperty;var et=Object.getOwnPropertyDescriptor;var tt=Object.getOwnPropertyNames;var rt=Object.getPrototypeOf,ot=Object.prototype.hasOwnProperty;var nt=(t,e)=>{for(var r in e)_(t,r,{get:e[r],enumerable:!0})},ke=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of tt(e))!ot.call(t,a)&&a!==r&&_(t,a,{get:()=>e[a],enumerable:!(n=et(e,a))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?$e(rt(t)):{},ke(e||!t||!t.__esModule?_(r,"default",{value:t,enumerable:!0}):r,t)),at=t=>ke(_({},"__esModule",{value:!0}),t);var Jt={};nt(Jt,{Default:()=>Ot,NoTitle:()=>jt,OneFeature:()=>Qt,TwoFeatures:()=>Vt,default:()=>Ht});module.exports=at(Jt);var Se=require("clsx");var le="-",st=t=>{let e=lt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:i=>{let s=i.split(le);return s[0]===""&&s.length!==1&&s.shift(),Ne(s,e)||it(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&n[i]?[...d,...n[i]]:d}}},Ne=(t,e)=>{var i;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),a=n?Ne(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let o=t.join(le);return(i=e.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ae=/^\[(.+)\]$/,it=t=>{if(Ae.test(t)){let e=Ae.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},lt=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return dt(Object.entries(t.classGroups),r).forEach(([o,i])=>{ie(i,n,o,e)}),n},ie=(t,e,r,n)=>{t.forEach(a=>{if(typeof a=="string"){let o=a===""?e:Ce(e,a);o.classGroupId=r;return}if(typeof a=="function"){if(ct(a)){ie(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{ie(i,Ce(e,o),r,n)})})},Ce=(t,e)=>{let r=t;return e.split(le).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ct=t=>t.isThemeGetter,dt=(t,e)=>e?t.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[e+i,s])):o);return[r,a]}):t,pt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Pe="!",ut=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,a=e[0],o=e.length,i=s=>{let d=[],m=0,f=0,x;for(let y=0;y<s.length;y++){let w=s[y];if(m===0){if(w===a&&(n||s.slice(y,y+o)===e)){d.push(s.slice(f,y)),f=y+o;continue}if(w==="/"){x=y;continue}}w==="["?m++:w==="]"&&m--}let h=d.length===0?s:s.substring(f),A=h.startsWith(Pe),C=A?h.substring(1):h,b=x&&x>f?x-f:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:b}};return r?s=>r({className:s,parseClassName:i}):i},mt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},gt=t=>({cache:pt(t.cacheSize),parseClassName:ut(t),...st(t)}),ft=/\s+/,bt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=e,o=[],i=t.trim().split(ft),s="";for(let d=i.length-1;d>=0;d-=1){let m=i[d],{modifiers:f,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:A}=r(m),C=!!A,b=n(C?h.substring(0,A):h);if(!b){if(!C){s=m+(s.length>0?" "+s:s);continue}if(b=n(h),!b){s=m+(s.length>0?" "+s:s);continue}C=!1}let y=mt(f).join(":"),w=x?y+Pe:y,k=w+b;if(o.includes(k))continue;o.push(k);let S=a(b,C);for(let M=0;M<S.length;++M){let Q=S[M];o.push(w+Q)}s=m+(s.length>0?" "+s:s)}return s};function yt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Be(e))&&(n&&(n+=" "),n+=r);return n}var Be=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Be(t[n]))&&(r&&(r+=" "),r+=e);return r};function ht(t,...e){let r,n,a,o=i;function i(d){let m=e.reduce((f,x)=>x(f),t());return r=gt(m),n=r.cache.get,a=r.cache.set,o=s,s(d)}function s(d){let m=n(d);if(m)return m;let f=bt(d,r);return a(d,f),f}return function(){return o(yt.apply(null,arguments))}}var p=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Re=/^\[(?:([a-z-]+):)?(.+)\]$/i,wt=/^\d+\/\d+$/,xt=new Set(["px","full","screen"]),vt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kt=/\d+(%|px|r?em|[sdl]?Y([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$/,At=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=t=>F(t)||xt.has(t)||wt.test(t),R=t=>G(t,"length",zt),F=t=>!!t&&!Number.isNaN(Number(t)),se=t=>G(t,"number",F),D=t=>!!t&&Number.isInteger(Number(t)),Pt=t=>t.endsWith("%")&&F(t.slice(0,-1)),l=t=>Re.test(t),T=t=>vt.test(t),Bt=new Set(["length","size","percentage"]),Rt=t=>G(t,Bt,Te),Tt=t=>G(t,"position",Te),It=new Set(["image","url"]),St=t=>G(t,It,Ft),Mt=t=>G(t,"",Et),U=()=>!0,G=(t,e,r)=>{let n=Re.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},zt=t=>kt.test(t)&&!At.test(t),Te=()=>!1,Et=t=>Ct.test(t),Ft=t=>Nt.test(t);var Gt=()=>{let t=p("colors"),e=p("spacing"),r=p("blur"),n=p("brightness"),a=p("borderColor"),o=p("borderRadius"),i=p("borderSpacing"),s=p("borderWidth"),d=p("contrast"),m=p("grayscale"),f=p("hueRotate"),x=p("invert"),h=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),b=p("inset"),y=p("margin"),w=p("opacity"),k=p("padding"),S=p("saturate"),M=p("scale"),Q=p("sepia"),fe=p("skew"),be=p("space"),ye=p("translate"),re=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",l,e],u=()=>[l,e],he=()=>["",P,R],j=()=>["auto",F,l],we=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],xe=()=>["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"],L=()=>["","0",l],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[F,l];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[P,R],blur:["none","",T,l],brightness:N(),borderColor:[t],borderRadius:["none","","full",T,l],borderSpacing:u(),borderWidth:he(),contrast:N(),grayscale:L(),hueRotate:N(),invert:L(),gap:u(),gradientColorStops:[t],gradientColorStopPositions:[Pt,R],inset:ne(),margin:ne(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:L(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"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(),l]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],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",D,l]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",D,l]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",D,l]},l]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[D,l]},l]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"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"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],Y:[{Y:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],Y:[{Y:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[be]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[be]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,e]}],"min-w":[{"min-w":[l,e,"min","max","fit"]}],"max-w":[{"max-w":[l,e,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[l,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,e,"auto","min","max","fit"]}],"font-size":[{text:["base",T,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",se]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",F,se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,R]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...we(),Tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Rt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},St]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:J()}],"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:["",...J()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,R]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[P,R]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",T,Mt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",T,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[x]}],saturate:[{saturate:[S]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[D,l]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[fe]}],"skew-y":[{"skew-y":[fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-Y":[{"scroll-Y":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-Y":[{"scroll-Y":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[P,R,se]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","Y","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Y","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-Y","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Y","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 Ie=ht(Gt);function g(...t){return Ie((0,Se.clsx)(t))}var Y=require("react/jsx-runtime"),Me=({className:t,content:e,style:r})=>(0,Y.jsx)("div",{className:g("mx-auto my-8 w-full",t),children:(0,Y.jsx)("div",{className:g("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,Y.jsx)(z,{content:e,enableGutter:!1,enableProse:!1})})});var ze=require("@radix-ui/react-slot"),Ee=require("class-variance-authority"),Fe=K(require("react")),Lt=(0,Ee.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"}}}),H=Fe.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...a},o)=>(0,Y.jsx)(t?ze.Slot:"button",{className:g(Lt({className:e,size:r,variant:n})),ref:o,...a}));H.displayName="Button";var ce=K(require("next/link")),V=t=>{let{type:e,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:d,url:m}=t,f=e==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:m;if(!f)return null;let x=r==="link"?"clear":d,h=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Y.jsxs)(ce.default,{className:g(a),href:f||m||"",...h,children:[o&&o,n&&n]}):(0,Y.jsx)(H,{asChild:!0,className:a,size:x,variant:r,children:(0,Y.jsxs)(ce.default,{className:g(a),href:f||m||"",...h,children:[o&&o,n&&n]})})};var Le=({links:t,richText:e})=>(0,Y.jsx)("div",{className:"container",children:(0,Y.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,Y.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,Y.jsx)(z,{className:"mb-0",content:e,enableGutter:!1})}),(0,Y.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,Y.jsx)(V,{size:"lg",...r},n))})]})});var X=require("prism-react-renderer");var De=require("lucide-react"),Ue=require("react");function He({code:t}){let[e,r]=(0,Ue.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Y.jsx)("div",{className:"flex justify-end align-middle",children:(0,Y.jsxs)(H,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,Y.jsx)("p",{children:e}),(0,Y.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Y.jsx)(De.ClipboardCopy,{})})]})})}var Oe=({code:t,language:e=""})=>t?(0,Y.jsx)(X.Highlight,{code:t,language:e,theme:X.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,Y.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,Y.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Y.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Y.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,Y.jsx)("span",{...n({token:s})},d))})]},i)),(0,Y.jsx)(He,{code:t})]})}):null;var Ve=({className:t,code:e,language:r})=>(0,Y.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Y.jsx)(Oe,{code:e,language:r})});var je=K(require("next/image")),Dt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Qe="data:image/png;base64,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",Je=t=>{let{alt:e,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:d}=t,m,f,x=e,h=s||"";if(!h&&o&&typeof o=="object"){let{alt:b,filename:y,height:w,url:k,width:S}=o;m=S,f=w,x=b||"",h=k||Qe}let A=d||"lazy",C=i||Object.entries(Dt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Y.jsx)("picture",{children:(0,Y.jsx)(je.default,{alt:x||"",className:g(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Qe,priority:A!=="lazy"&&a,quality:100,loading:A,sizes:C,src:h,width:r?void 0:m})})};var _e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ke=()=>{if(_e){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ye=t=>{let{onClick:e,resource:r,videoClassName:n}=t,a=(0,Ue.useRef)(null);if((0,Ue.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Y.jsx)("video",{autoPlay:!0,className:g(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,Y.jsx)("source",{src:`${Ke()}/media/${o}`})})}return null};var Z=t=>{var i;let{className:e,htmlElement:r="div",resource:n}=t,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,Y.jsx)(r||Ue.Fragment,{...r!==null?{className:e}:{},children:a?(0,Y.jsx)(Ye,{...t}):(0,Y.jsx)(Je,{...t})})};var We=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,Y.jsx)("div",{className:g("",{container:r},e),children:(0,Y.jsx)(Z,{imgClassName:g("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var qe=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,Y.jsx)("div",{className:g("",{container:r},e),children:(0,Y.jsx)(Z,{imgClassName:g("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ee=K(require("react"));function $({nodes:t}){return(0,Y.jsx)(ee.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let o=(0,Y.jsx)(ee.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,Y.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,Y.jsx)("em",{children:o},r)),e.format&4&&(o=(0,Y.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,Y.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,Y.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,Y.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,Y.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,Y.jsx)("table",{children:(0,Y.jsx)("tbody",{children:e.children.map((o,i)=>(0,Y.jsx)("tr",{children:o.children.map((s,d)=>(0,Y.jsx)("td",{children:$({nodes:s.children})},d))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return $({nodes:o.children})},a="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Y.jsx)(Le,{...o},r);case"mediaBlock":return(0,Y.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,Y.jsx)(qe,{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,Y.jsx)(Me,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Y.jsx)(Ve,{className:"col-start-2",...o},r);case"features":return(0,Y.jsx)(te,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,Y.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Y.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=e==null?void 0:e.tag;return(0,Y.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},r)}case"list":{let o=e==null?void 0:e.tag;return(0,Y.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,Y.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},r):(0,Y.jsx)("li",{value:e==null?void 0:e.value,children:a},r);case"quote":return(0,Y.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=e.fields;return(0,Y.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=e.fields;return(0,Y.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var z=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var a;return e?(0,Y.jsx)("div",{className:g({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&$({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};var te=({title:t,description:e,features:r,id:n})=>(0,Y.jsxs)("section",{className:g("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Y.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,Y.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,Y.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Y.jsx)(z,{content:e,enableGutter:!1})}),(0,Y.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let i=(0,Y.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Y.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Y.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,Y.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,Y.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,Y.jsx)("div",{className:"text-lg opacity-80",children:(0,Y.jsx)(z,{content:a.content,enableGutter:!1})})]},o);return a.link?(0,Y.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:i},o):i})})]});var Ut={title:"Reusable Blocks/FeaturesBlock",component:te,tags:["autodocs"],parameters:{layout:"padded"}},Ht=Ut,Ot={args:{title:"What Are Digital Colleagues?",description:"some other words",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners (internal link)",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},Vt={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},Qt={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},jt={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}};0&&(module.exports={Default,NoTitle,OneFeature,TwoFeatures});
|
|
4
|
+
"use strict";var ot=Object.create;var Y=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var st=Object.getPrototypeOf,it=Object.prototype.hasOwnProperty;var lt=(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 a of at(t))!it.call(e,a)&&a!==r&&Y(e,a,{get:()=>t[a],enumerable:!(n=nt(t,a))||n.enumerable});return e};var W=(e,t,r)=>(r=e!=null?ot(st(e)):{},Ce(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),ct=e=>Ce(Y({},"__esModule",{value:!0}),e);var er={};lt(er,{Cards:()=>Zt,Default:()=>Kt,NoIcon:()=>Xt,NoTitle:()=>qt,OneFeature:()=>Wt,ThreeCards:()=>$t,TwoFeatures:()=>Yt,default:()=>_t});module.exports=ct(er);var Me=require("clsx");var ce="-",dt=e=>{let t=ut(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(ce);return s[0]===""&&s.length!==1&&s.shift(),Pe(s,t)||pt(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},Pe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?Pe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(ce);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ae=/^\[(.+)\]$/,pt=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 gt(Object.entries(e.classGroups),r).forEach(([o,i])=>{le(i,n,o,t)}),n},le=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Ne(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(mt(a)){le(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{le(i,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},mt=e=>e.isThemeGetter,gt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Be="!",bt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],u=0,m=0,h;for(let y=0;y<s.length;y++){let v=s[y];if(u===0){if(v===a&&(n||s.slice(y,y+o)===t)){c.push(s.slice(m,y)),m=y+o;continue}if(v==="/"){h=y;continue}}v==="["?u++:v==="]"&&u--}let x=c.length===0?s:s.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?s=>r({className:s,parseClassName:i}):i},yt=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},ht=e=>({cache:ft(e.cacheSize),parseClassName:bt(e),...dt(e)}),xt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(xt),s="";for(let c=i.length-1;c>=0;c-=1){let u=i[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){s=u+(s.length>0?" "+s:s);continue}if(b=n(x),!b){s=u+(s.length>0?" "+s:s);continue}N=!1}let y=yt(m).join(":"),v=h?y+Be:y,C=v+b;if(o.includes(C))continue;o.push(C);let F=a(b,N);for(let z=0;z<F.length;++z){let J=F[z];o.push(v+J)}s=u+(s.length>0?" "+s:s)}return s};function wt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Te(t))&&(n&&(n+=" "),n+=r);return n}var Te=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Te(e[n]))&&(r&&(r+=" "),r+=t);return r};function kt(e,...t){let r,n,a,o=i;function i(c){let u=t.reduce((m,h)=>h(m),e());return r=ht(u),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let u=n(c);if(u)return u;let m=vt(c,r);return a(c,m),m}return function(){return o(wt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ct=/^\d+\/\d+$/,At=new Set(["px","full","screen"]),Nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(X|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Bt=/^(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)\(.+\)$/,B=e=>G(e)||At.has(e)||Ct.test(e),R=e=>L(e,"length",Gt),G=e=>!!e&&!Number.isNaN(Number(e)),ie=e=>L(e,"number",G),H=e=>!!e&&Number.isInteger(Number(e)),Rt=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>Ie.test(e),S=e=>Nt.test(e),St=new Set(["length","size","percentage"]),Mt=e=>L(e,St,Re),Ft=e=>L(e,"position",Re),zt=new Set(["image","url"]),Et=e=>L(e,zt,Ut),Dt=e=>L(e,"",Lt),O=()=>!0,L=(e,t,r)=>{let n=Ie.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Gt=e=>Pt.test(e)&&!Bt.test(e),Re=()=>!1,Lt=e=>Tt.test(e),Ut=e=>It.test(e);var Ht=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),a=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=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"),v=g("opacity"),C=g("padding"),F=g("saturate"),z=g("scale"),J=g("sepia"),be=g("skew"),ye=g("space"),he=g("translate"),oe=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",l,t],f=()=>[l,t],xe=()=>["",B,R],_=()=>["auto",G,l],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],we=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",l],ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[B,R],blur:["none","",S,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:f(),borderWidth:xe(),contrast:P(),grayscale:U(),hueRotate:P(),invert:U(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Rt,R],inset:ae(),margin:ae(),opacity:P(),padding:f(),saturate:P(),scale:P(),sepia:U(),skew:P(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],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:[...ve(),l]}],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,l]}],basis:[{basis:ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,l]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",H,l]},l]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[H,l]},l]}],"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",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],X:[{X:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],X:[{X:[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]}],X:[{X:[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"],X:[{X:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-X":[{"min-X":[l,t,"min","max","fit"]}],"max-X":[{"max-X":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ie]}],"font-family":[{font:[O]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,R]}],"underline-offset":[{"underline-offset":["auto",B,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Et]}],"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-X":[{border:[s]}],"border-X-x":[{"border-x":[s]}],"border-X-y":[{"border-y":[s]}],"border-X-s":[{"border-s":[s]}],"border-X-e":[{"border-e":[s]}],"border-X-t":[{"border-t":[s]}],"border-X-r":[{"border-r":[s]}],"border-X-b":[{"border-b":[s]}],"border-X-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:K()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-X":[{outline:[B,R]}],"outline-color":[{outline:[e]}],"ring-X":[{ring:xe()}],"ring-X-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-X":[{"ring-offset":[B,R]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Dt]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...we(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":we()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[F]}],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":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[H,l]}],"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",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","X-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-X":[{"scroll-X":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-X":[{"scroll-X":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-X":[{"scroll-X":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",l]}],fill:[{fill:[e,"none"]}],"stroke-X":[{stroke:[B,R,ie]}],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"],X:["px","py","ps","X","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","X","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["X","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-X":["border-X-s","border-X-e","border-X-t","border-X-r","border-X-b","border-X-l"],"border-X-x":["border-X-r","border-X-l"],"border-X-y":["border-X-t","border-X-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-X","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-X":["scroll-px","scroll-py","scroll-ps","scroll-X","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=kt(Ht);function d(...e){return Se((0,Me.clsx)(e))}var X=require("react/jsx-runtime"),Fe=({className:e,content:t,style:r})=>(0,X.jsx)("div",{className:d("mx-auto my-8 X-full",e),children:(0,X.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,X.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var ze=require("@radix-ui/react-slot"),Ee=require("class-variance-authority"),De=W(require("react")),Ot=(0,Ee.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 X-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"}}}),E=De.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,X.jsx)(e?ze.Slot:"button",{className:d(Ot({className:t,size:r,variant:n})),ref:o,...a}));E.displayName="Button";var de=W(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,url:u}=e,m=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!m)return null;let h=r==="link"?"clear":c,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,X.jsxs)(de.default,{className:d(a),href:m||u||"",...x,children:[o&&o,n&&n]}):(0,X.jsx)(E,{asChild:!0,className:a,size:h,variant:r,children:(0,X.jsxs)(de.default,{className:d(a),href:m||u||"",...x,children:[o&&o,n&&n]})})};var Le=({links:e,richText:t})=>(0,X.jsx)("div",{className:"container",children:(0,X.jsxs)("div",{className:"bg-card rounded border-border border X-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,X.jsx)("div",{className:"max-X-[48rem] flex items-center",children:t&&(0,X.jsx)(T,{className:"mb-0",content:t,enableGutter:!1})}),(0,X.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,X.jsx)(Q,{size:"lg",...r},n))})]})});var q=require("prism-react-renderer");var Ue=require("lucide-react"),He=require("react");function Oe({code:e}){let[t,r]=(0,He.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,X.jsx)("div",{className:"flex justify-end align-middle",children:(0,X.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,X.jsx)("X",{children:t}),(0,X.jsx)("div",{className:"X-6 h-6 dark:invert",children:(0,X.jsx)(Ue.ClipboardCopy,{})})]})})}var Ve=({code:e,language:t=""})=>e?(0,X.jsx)(q.Highlight,{code:e,language:t,theme:q.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,X.jsxs)("pre",{className:"bg-black X-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,X.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,X.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,X.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,X.jsx)("span",{...n({token:s})},c))})]},i)),(0,X.jsx)(Oe,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,X.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,X.jsx)(Ve,{code:t,language:r})});var Je=W(require("next/image")),Vt={"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:a,resource:o,size:i,src:s,loading:c}=e,u,m,h=t,x=s||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:v,url:C,width:F}=o;u=F,m=v,h=b||"",x=C||je}let A=c||"lazy",N=i||Object.entries(Vt).map(([,b])=>`(max-width: ${b}px) ${b*2}X`).join(", ");return(0,X.jsx)("picture",{children:(0,X.jsx)(Je.default,{alt:h||"",className:d(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:je,priority:A!=="lazy"&&a,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 We=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,He.useRef)(null);if((0,He.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,X.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,X.jsx)("source",{src:`${Ye()}/media/${o}`})})}return null};var ee=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,$.jsx)(r||He.Fragment,{...r!==null?{className:t}:{},children:a?(0,$.jsx)(We,{...e}):(0,$.jsx)(_e,{...e})})};var qe=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,X.jsx)("div",{className:d("",{container:r},t),children:(0,X.jsx)(ee,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var Ze=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,X.jsx)("div",{className:d("",{container:r},t),children:(0,X.jsx)(ee,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var te=W(require("react"));function j({nodes:e}){return(0,X.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,X.jsx)(te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,X.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,X.jsx)("em",{children:o},r)),t.format&4&&(o=(0,X.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,X.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,X.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,X.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,X.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,X.jsx)("table",{children:(0,X.jsx)("tbody",{children:t.children.map((o,i)=>(0,X.jsx)("tr",{children:o.children.map((s,c)=>(0,X.jsx)("td",{children:j({nodes:s.children})},c))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return j({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,X.jsx)(Le,{...o},r);case"mediaBlock":return(0,X.jsx)(qe,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-X-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,X.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-X-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,X.jsx)(Fe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,X.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,X.jsx)(re,{...o},r);case"reusableContentBlock":j({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,X.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,X.jsx)("X",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,X.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,X.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,X.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,X.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,X.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,X.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,X.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var T=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,$e.jsx)("div",{className:d({"container ":r,"max-X-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&j({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var et=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,X.jsx)("i",{className:s})};function Qt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function rt({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,X.jsxs)("div",{className:d("rounded-3xl X-8 md:X-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,X.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,X.jsx)("div",{className:d("rounded-full X-0",e==="light"?"text-[#A42368]":"text-white"),children:Qt(r)?(0,X.jsx)(et,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,X.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,X.jsx)("div",{className:"mb-6",children:(0,X.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,X.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,X.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,X.jsx)(T,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-X:text-gray-300")})}),o&&typeof o=="string"&&(0,X.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,X.jsx)("div",{className:"mt-8",children:(0,X.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,X.jsxs)("a",{href:c,children:[s,(0,X.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,X.jsx)("div",{className:"absolute bottom-0 right-0 X-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 re=({title:e,description:t,features:r,id:n})=>(0,X.jsxs)("section",{className:d("container X-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,X.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,X.jsx)("X",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,X.jsx)("X",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,X.jsx)(T,{content:t,enableGutter:!1})}),(0,X.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,c,u,m;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,X.jsx)(jt,{section:a,index:o},o);{let h=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,X.jsx)(rt,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((c=a.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(u=a.link)!=null&&u.url?"Find out more":void 0,buttonHref:((m=a.link)==null?void 0:m.url)||void 0},o)}})})]}),jt=({section:e,index:t})=>{if(!e)return null;let r=(0,X.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,X.jsx)("div",{className:"text-accent h-12 X-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,X.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,X.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,X.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,X.jsx)("div",{className:"text-lg opacity-80",children:(0,X.jsx)(T,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,X.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Jt={title:"Reusable Blocks/FeaturesBlock",component:re,tags:["autodocs"],parameters:{layout:"padded"}},_t=Jt,Kt={args:{title:"What Are Digital Colleagues?",description:"some other words",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners (internal link)",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},Yt={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},Wt={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},Xt={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},qt={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},Zt={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},$t={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};0&&(module.exports={Cards,Default,NoIcon,NoTitle,OneFeature,ThreeCards,TwoFeatures});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as
|
|
1
|
+
import{c as t}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-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-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";var e={title:"Reusable Blocks/FeaturesBlock",component:t,tags:["autodocs"],parameters:{layout:"padded"}},o=e,i={args:{title:"What Are Digital Colleagues?",description:"some other words",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners (internal link)",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},a={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},r={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},s={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},l={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},c={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},u={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{c as Cards,i as Default,s as NoIcon,l as NoTitle,r as OneFeature,u as ThreeCards,a as TwoFeatures,o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ImageBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-PVRWMAHW.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as MediaBlock};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var it=Object.create;var Z=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty;var mt=(t,e)=>{for(var r in e)Z(t,r,{get:e[r],enumerable:!0})},Ne=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of dt(e))!ut.call(t,n)&&n!==r&&Z(t,n,{get:()=>e[n],enumerable:!(s=ct(e,n))||s.enumerable});return t};var U=(t,e,r)=>(r=t!=null?it(pt(t)):{},Ne(e||!t||!t.__esModule?Z(r,"default",{value:t,enumerable:!0}):r,t)),gt=t=>Ne(Z({},"__esModule",{value:!0}),t);var qt={};mt(qt,{RelatedPosts:()=>Xt});module.exports=gt(qt);var lt=U(require("clsx"));var ze=require("clsx");var pe="-",ft=t=>{let e=yt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:a=>{let l=a.split(pe);return l[0]===""&&l.length!==1&&l.shift(),Be(l,e)||bt(a)},getConflictingClassGroupIds:(a,l)=>{let p=r[a]||[];return l&&s[a]?[...p,...s[a]]:p}}},Be=(t,e)=>{var a;if(t.length===0)return e.classGroupId;let r=t[0],s=e.nextPart.get(r),n=s?Be(t.slice(1),s):void 0;if(n)return n;if(e.validators.length===0)return;let o=t.join(pe);return(a=e.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,bt=t=>{if(Pe.test(t)){let e=Pe.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},yt=t=>{let{theme:e,prefix:r}=t,s={nextPart:new Map,validators:[]};return vt(Object.entries(t.classGroups),r).forEach(([o,a])=>{de(a,s,o,e)}),s},de=(t,e,r,s)=>{t.forEach(n=>{if(typeof n=="string"){let o=n===""?e:Re(e,n);o.classGroupId=r;return}if(typeof n=="function"){if(ht(n)){de(n(s),e,r,s);return}e.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,a])=>{de(a,Re(e,o),r,s)})})},Re=(t,e)=>{let r=t;return e.split(pe).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},ht=t=>t.isThemeGetter,vt=(t,e)=>e?t.map(([r,s])=>{let n=s.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[e+a,l])):o);return[r,n]}):t,wt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,s=new Map,n=(o,a)=>{r.set(o,a),e++,e>t&&(e=0,s=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=s.get(o))!==void 0)return n(o,a),a},set(o,a){r.has(o)?r.set(o,a):n(o,a)}}},Te="!",xt=t=>{let{separator:e,experimentalParseClassName:r}=t,s=e.length===1,n=e[0],o=e.length,a=l=>{let p=[],d=0,g=0,c;for(let b=0;b<l.length;b++){let x=l[b];if(d===0){if(x===n&&(s||l.slice(b,b+o)===e)){p.push(l.slice(g,b)),g=b+o;continue}if(x==="/"){c=b;continue}}x==="["?d++:x==="]"&&d--}let u=p.length===0?l:l.substring(g),w=u.startsWith(Te),k=w?u.substring(1):u,f=c&&c>g?c-g:void 0;return{modifiers:p,hasImportantModifier:w,baseClassName:k,maybePostfixModifierPosition:f}};return r?l=>r({className:l,parseClassName:a}):a},kt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(s=>{s[0]==="["?(e.push(...r.sort(),s),r=[]):r.push(s)}),e.push(...r.sort()),e},Ct=t=>({cache:wt(t.cacheSize),parseClassName:xt(t),...ft(t)}),At=/\s+/,Nt=(t,e)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=e,o=[],a=t.trim().split(At),l="";for(let p=a.length-1;p>=0;p-=1){let d=a[p],{modifiers:g,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:w}=r(d),k=!!w,f=s(k?u.substring(0,w):u);if(!f){if(!k){l=d+(l.length>0?" "+l:l);continue}if(f=s(u),!f){l=d+(l.length>0?" "+l:l);continue}k=!1}let b=kt(g).join(":"),x=c?b+Te:b,C=x+f;if(o.includes(C))continue;o.push(C);let R=n(f,k);for(let B=0;B<R.length;++B){let G=R[B];o.push(x+G)}l=d+(l.length>0?" "+l:l)}return l};function Pt(){let t=0,e,r,s="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Se(e))&&(s&&(s+=" "),s+=r);return s}var Se=t=>{if(typeof t=="string")return t;let e,r="";for(let s=0;s<t.length;s++)t[s]&&(e=Se(t[s]))&&(r&&(r+=" "),r+=e);return r};function Rt(t,...e){let r,s,n,o=a;function a(p){let d=e.reduce((g,c)=>c(g),t());return r=Ct(d),s=r.cache.get,n=r.cache.set,o=l,l(p)}function l(p){let d=s(p);if(d)return d;let g=Nt(p,r);return n(p,g),g}return function(){return o(Pt.apply(null,arguments))}}var y=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,Bt=/^\d+\/\d+$/,Tt=new Set(["px","full","screen"]),St=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=t=>D(t)||Tt.has(t)||Bt.test(t),E=t=>H(t,"length",Vt),D=t=>!!t&&!Number.isNaN(Number(t)),ce=t=>H(t,"number",D),j=t=>!!t&&Number.isInteger(Number(t)),Ft=t=>t.endsWith("%")&&D(t.slice(0,-1)),i=t=>Ie.test(t),z=t=>St.test(t),Lt=new Set(["length","size","percentage"]),Gt=t=>H(t,Lt,Me),Ut=t=>H(t,"position",Me),Dt=new Set(["image","url"]),Ht=t=>H(t,Dt,jt),Ot=t=>H(t,"",Qt),_=()=>!0,H=(t,e,r)=>{let s=Ie.exec(t);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):r(s[2]):!1},Vt=t=>It.test(t)&&!Mt.test(t),Me=()=>!1,Qt=t=>Et.test(t),jt=t=>zt.test(t);var _t=()=>{let t=y("colors"),e=y("spacing"),r=y("blur"),s=y("brightness"),n=y("borderColor"),o=y("borderRadius"),a=y("borderSpacing"),l=y("borderWidth"),p=y("contrast"),d=y("grayscale"),g=y("hueRotate"),c=y("invert"),u=y("gap"),w=y("gradientColorStops"),k=y("gradientColorStopPositions"),f=y("inset"),b=y("margin"),x=y("opacity"),C=y("padding"),R=y("saturate"),B=y("scale"),G=y("sepia"),X=y("skew"),ve=y("space"),we=y("translate"),se=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],le=()=>["auto",i,e],v=()=>[i,e],xe=()=>["",S,E],q=()=>["auto",D,i],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[D,i];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[S,E],blur:["none","",z,i],brightness:T(),borderColor:[t],borderRadius:["none","","full",z,i],borderSpacing:v(),borderWidth:xe(),contrast:T(),grayscale:Q(),hueRotate:T(),invert:Q(),gap:v(),gradientColorStops:[t],gradientColorStopPositions:[Ft,E],inset:le(),margin:le(),opacity:T(),padding:v(),saturate:T(),scale:T(),sepia:Q(),skew:T(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ke(),i]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,i]}],basis:[{basis:le()}],"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:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",j,i]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",j,i]},i]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[j,i]},i]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],$:[{$:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],$:[{$:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",z,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ce]}],"font-family":[{font:[_]}],"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,ce]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,E]}],"underline-offset":[{"underline-offset":["auto",S,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),Ut]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ht]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:W()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[S,i]}],"outline-w":[{outline:[S,E]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[S,E]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",z,Ot]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ce()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[c]}],saturate:[{saturate:[R]}],sepia:[{sepia:[G]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[j,i]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[X]}],"skew-y":[{"skew-y":[X]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-$":[{"scroll-$":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-$":[{"scroll-$":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[S,E,ce]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],$:["mx","my","ms","$","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-$":["scroll-mx","scroll-my","scroll-ms","scroll-$","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ee=Rt(_t);function h(...t){return Ee((0,ze.clsx)(t))}var $=require("react/jsx-runtime"),Fe=({className:t,content:e,style:r})=>(0,$.jsx)("div",{className:h("mx-auto my-8 w-full",t),children:(0,$.jsx)("div",{className:h("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(I,{content:e,enableGutter:!1,enableProse:!1})})});var Le=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Ue=U(require("react")),Jt=(0,Ge.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"}}}),J=Ue.forwardRef(({asChild:t=!1,className:e,size:r,variant:s,...n},o)=>(0,$.jsx)(t?Le.Slot:"button",{className:h(Jt({className:e,size:r,variant:s})),ref:o,...n}));J.displayName="Button";var ue=U(require("next/link")),Y=t=>{let{type:e,appearance:r="inline",children:s,className:n,label:o,newTab:a,reference:l,size:p,url:d}=t,g=e==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!g)return null;let c=r==="link"?"clear":p,u=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(ue.default,{className:h(n),href:g||d||"",...u,children:[o&&o,s&&s]}):(0,$.jsx)(J,{asChild:!0,className:n,size:c,variant:r,children:(0,$.jsxs)(ue.default,{className:h(n),href:g||d||"",...u,children:[o&&o,s&&s]})})};var He=({links:t,richText:e})=>(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,$.jsx)(I,{className:"mb-0",content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},s)=>(0,$.jsx)(Y,{size:"lg",...r},s))})]})});var ee=require("prism-react-renderer");var Oe=require("lucide-react"),Ve=require("react");function Qe({code:t}){let[e,r]=(0,Ve.useState)("Copy");function s(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,$.jsx)("p",{children:e}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(Oe.ClipboardCopy,{})})]})})}var je=({code:t,language:e=""})=>t?(0,$.jsx)(ee.Highlight,{code:t,language:e,theme:ee.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:n})=>(0,$.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,a)=>(0,$.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:o.map((l,p)=>(0,$.jsx)("span",{...s({token:l})},p))})]},a)),(0,$.jsx)(Qe,{code:t})]})}):null;var _e=({className:t,code:e,language:r})=>(0,$.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(je,{code:e,language:r})});var Ke=U(require("next/image")),Kt={"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=",Ye=t=>{let{alt:e,fill:r,imgClassName:s,priority:n,resource:o,size:a,src:l,loading:p}=t,d,g,c=e,u=l||"";if(!u&&o&&typeof o=="object"){let{alt:f,filename:b,height:x,url:C,width:R}=o;d=R,g=x,c=f||"",u=C||Je}let w=p||"lazy",k=a||Object.entries(Kt).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(Ke.default,{alt:c||"",className:h(s),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Je,priority:w!=="lazy"&&n,quality:100,loading:w,sizes:k,src:u,width:r?void 0:d})})};var Xe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var qe=()=>{if(Xe){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var We=t=>{let{onClick:e,resource:r,videoClassName:s}=t,n=(0,Ve.useRef)(null);if((0,Ve.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$.jsx)("video",{autoPlay:!0,className:h(s),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:n,children:(0,$.jsx)("source",{src:`${qe()}/media/${o}`})})}return null};var O=t=>{var a;let{className:e,htmlElement:r="div",resource:s}=t,n=typeof s=="object"&&((a=s==null?void 0:s.mimeType)==null?void 0:a.includes("video"));return(0,$.jsx)(r||Ve.Fragment,{...r!==null?{className:e}:{},children:n?(0,$.jsx)(We,{...t}):(0,$.jsx)(Ye,{...t})})};var $e=t=>{let{className:e,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=t;return(0,$.jsx)("div",{className:h("",{container:r},e),children:(0,$.jsx)(O,{imgClassName:h("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var et=t=>{let{className:e,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=t;return(0,$.jsx)("div",{className:h("",{container:r},e),children:(0,$.jsx)(O,{imgClassName:h("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var tt=({title:t,description:e,features:r,id:s})=>(0,$.jsxs)("section",{className:h("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:s||"",children:t}),e&&typeof e=="string"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,$.jsx)(I,{content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let a=(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,$.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,$.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,$.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",children:(0,$.jsx)(I,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,$.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:a},o):a})})]});var ne=U(require("react"));function oe({nodes:t}){return(0,$.jsx)(ne.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let o=(0,$.jsx)(ne.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,$.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,$.jsx)("em",{children:o},r)),e.format&4&&(o=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,$.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,$.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,$.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:e.children.map((o,a)=>(0,$.jsx)("tr",{children:o.children.map((l,p)=>(0,$.jsx)("td",{children:oe({nodes:l.children})},p))},a))})},r);let s=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return oe({nodes:o.children})},n="children"in e?s(e):"";if(e.type==="block"){let o=e.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,$.jsx)(He,{...o},r);case"mediaBlock":return(0,$.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"$-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,$.jsx)(et,{className:"col-start-1 col-span-3",imgClassName:"$-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,$.jsx)(Fe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,$.jsx)(_e,{className:"col-start-2",...o},r);case"features":return(0,$.jsx)(tt,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,$.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:n},r)}case"list":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,$.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:n},r):(0,$.jsx)("li",{value:e==null?void 0:e.value,children:n},r);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=e.fields;return(0,$.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=e.fields;return(0,$.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var I=({className:t,content:e,enableGutter:r=!0,enableProse:s=!0})=>{var n;return e?(0,$.jsx)("div",{className:h({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":s},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&oe({nodes:(n=e==null?void 0:e.root)==null?void 0:n.children})}):null};var ot=require("next/navigation");function Yt({external:t=!1,newTab:e=!1,scroll:r=!0}){let s=(0,ot.useRouter)(),n=(0,Ve.useRef)(null),o=(0,Ve.useRef)(null),a=(0,Ve.useRef)(0),l=(0,Ve.useRef)(!1),p=(0,Ve.useRef)(0),d=(0,Ve.useCallback)(c=>{if(c.target){let u=c.target,w=+new Date,k=u==null?void 0:u.closest("a");p.current=c.button,k?l.current=!0:(l.current=!1,a.current=w)}},[s,n,o,a]),g=(0,Ve.useCallback)(c=>{var u,w;if((u=o.current)!=null&&u.href){let f=+new Date-a.current;if((w=o.current)!=null&&w.href&&f<=250&&!l.current&&p.current===0&&!c.ctrlKey)if(t){let b=e?"_blank":"_self";window.open(o.current.href,b)}else s.push(o.current.href,{scroll:r})}},[s,n,o,a]);return(0,Ve.useEffect)(()=>{let c=n.current;return c&&(c.addEventListener("mousedown",d),c.addEventListener("mouseup",g)),()=>{c&&c&&(c==null||c.removeEventListener("mousedown",d),c==null||c.removeEventListener("mouseup",g))}},[n,o,s]),{card:{ref:n},link:{ref:o}}}var nt=Yt;var st=U(require("next/link"));var at=t=>{let{card:e,link:r}=nt({}),{className:s,doc:n,relationTo:o,showCategories:a,title:l}=t,{slug:p,categories:d,meta:g,title:c}=n||{},{description:u,image:w}=g||{},k=d&&Array.isArray(d)&&d.length>0,f=l||c,b=u==null?void 0:u.replace(/\s/g," "),x=`/${o}/${p}`;return(0,$.jsxs)("article",{className:h("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",s),ref:e.ref,children:[(0,$.jsxs)("div",{className:"relative w-full ",children:[!w&&(0,$.jsx)("div",{className:"",children:"No image"}),w&&typeof w!="string"&&(0,$.jsx)(O,{resource:w,size:"33vw"})]}),(0,$.jsxs)("div",{className:"p-4",children:[a&&k&&(0,$.jsx)("div",{className:"uppercase text-sm mb-4",children:a&&k&&(0,$.jsx)("div",{children:d==null?void 0:d.map((C,R)=>{if(typeof C=="object"){let{title:B}=C,G=B||"Untitled category",X=R===d.length-1;return(0,$.jsxs)(Ve.Fragment,{children:[G,!X&&(0,$.jsx)(Ve.Fragment,{children:", \xA0"})]},R)}return null})})}),f&&(0,$.jsx)("div",{className:"prose",children:(0,$.jsx)("h3",{children:(0,$.jsx)(st.default,{className:"not-prose",href:x,ref:r.ref,children:f})})}),u&&(0,$.jsx)("div",{className:"mt-2",children:u&&(0,$.jsx)("p",{children:b})})]})]})};var Xt=t=>{let{className:e,docs:r,introContent:s}=t;return(0,$.jsxs)("div",{className:(0,lt.default)("container",e),children:[s&&(0,$.jsx)(I,{content:s,enableGutter:!1}),(0,$.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((n,o)=>typeof n=="string"?null:(0,$.jsx)(at,{doc:n,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={RelatedPosts});
|
|
4
|
+
"use strict";var mt=Object.create;var ee=Object.defineProperty;var ut=Object.getOwnPropertyDescriptor;var gt=Object.getOwnPropertyNames;var ft=Object.getPrototypeOf,bt=Object.prototype.hasOwnProperty;var yt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of gt(t))!bt.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(n=ut(t,s))||n.enumerable});return e};var H=(e,t,r)=>(r=e!=null?mt(ft(e)):{},Pe(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),ht=e=>Pe(ee({},"__esModule",{value:!0}),e);var rr={};yt(rr,{RelatedPosts:()=>tr});module.exports=ht(rr);var pt=H(require("clsx"));var Fe=require("clsx");var me="-",xt=e=>{let t=wt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(me);return a[0]===""&&a.length!==1&&a.shift(),Te(a,t)||vt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Te=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Te(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(me);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Re=/^\[(.+)\]$/,vt=e=>{if(Re.test(e)){let t=Re.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},wt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Ct(Object.entries(e.classGroups),r).forEach(([o,l])=>{pe(l,n,o,t)}),n},pe=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Be(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(kt(s)){pe(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{pe(l,Be(t,o),r,n)})})},Be=(e,t)=>{let r=e;return t.split(me).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},kt=e=>e.isThemeGetter,Ct=(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,At=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)}}},Ie="!",Nt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],d=0,g=0,p;for(let y=0;y<a.length;y++){let w=a[y];if(d===0){if(w===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(g,y)),g=y+o;continue}if(w==="/"){p=y;continue}}w==="["?d++:w==="]"&&d--}let u=c.length===0?a:a.substring(g),v=u.startsWith(Ie),k=v?u.substring(1):u,b=p&&p>g?p-g:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:k,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},Pt=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},Rt=e=>({cache:At(e.cacheSize),parseClassName:Nt(e),...xt(e)}),Bt=/\s+/,Tt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(Bt),a="";for(let c=l.length-1;c>=0;c-=1){let d=l[c],{modifiers:g,hasImportantModifier:p,baseClassName:u,maybePostfixModifierPosition:v}=r(d),k=!!v,b=n(k?u.substring(0,v):u);if(!b){if(!k){a=d+(a.length>0?" "+a:a);continue}if(b=n(u),!b){a=d+(a.length>0?" "+a:a);continue}k=!1}let y=Pt(g).join(":"),w=p?y+Ie:y,N=w+b;if(o.includes(N))continue;o.push(N);let T=s(b,k);for(let I=0;I<T.length;++I){let U=T[I];o.push(w+U)}a=d+(a.length>0?" "+a:a)}return a};function It(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Se(t))&&(n&&(n+=" "),n+=r);return n}var Se=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Se(e[n]))&&(r&&(r+=" "),r+=t);return r};function St(e,...t){let r,n,s,o=l;function l(c){let d=t.reduce((g,p)=>p(g),e());return r=Rt(d),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let d=n(c);if(d)return d;let g=Tt(c,r);return s(c,g),g}return function(){return o(It.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Me=/^\[(?:([a-z-]+):)?(.+)\]$/i,Mt=/^\d+\/\d+$/,Et=new Set(["px","full","screen"]),zt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ft=/\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$/,Lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>O(e)||Et.has(e)||Mt.test(e),z=e=>V(e,"length",Jt),O=e=>!!e&&!Number.isNaN(Number(e)),de=e=>V(e,"number",O),J=e=>!!e&&Number.isInteger(Number(e)),Ut=e=>e.endsWith("%")&&O(e.slice(0,-1)),i=e=>Me.test(e),F=e=>zt.test(e),Ht=new Set(["length","size","percentage"]),Ot=e=>V(e,Ht,Ee),Vt=e=>V(e,"position",Ee),Qt=new Set(["image","url"]),jt=e=>V(e,Qt,Yt),_t=e=>V(e,"",Kt),K=()=>!0,V=(e,t,r)=>{let n=Me.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Jt=e=>Ft.test(e)&&!Lt.test(e),Ee=()=>!1,Kt=e=>Dt.test(e),Yt=e=>Gt.test(e);var Xt=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),n=h("brightness"),s=h("borderColor"),o=h("borderRadius"),l=h("borderSpacing"),a=h("borderWidth"),c=h("contrast"),d=h("grayscale"),g=h("hueRotate"),p=h("invert"),u=h("gap"),v=h("gradientColorStops"),k=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),w=h("opacity"),N=h("padding"),T=h("saturate"),I=h("scale"),U=h("sepia"),W=h("skew"),ve=h("space"),we=h("translate"),ae=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto",i,t],x=()=>[i,t],ke=()=>["",M,z],Z=()=>["auto",O,i],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",i],Ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[O,i];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[M,z],blur:["none","",F,i],brightness:S(),borderColor:[e],borderRadius:["none","","full",F,i],borderSpacing:x(),borderWidth:ke(),contrast:S(),grayscale:_(),hueRotate:S(),invert:_(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Ut,z],inset:ie(),margin:ie(),opacity:S(),padding:x(),saturate:S(),scale:S(),sepia:_(),skew:S(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Ne()}],"break-before":[{"break-before":Ne()}],"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:[...Ce(),i]}],overflow:[{overflow:le()}],"overflow-x":[{"overflow-x":le()}],"overflow-y":[{"overflow-y":le()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],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",J,i]}],basis:[{basis:ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,i]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",J,i]},i]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[J,i]},i]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"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:[F]},F]}],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",F,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",de]}],"font-family":[{font:[K]}],"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",O,de]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,z]}],"underline-offset":[{"underline-offset":["auto",M,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:x()}],"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:[...Ce(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ot]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],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:[...$(),"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:$()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[M,i]}],"outline-w":[{outline:[M,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[M,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,_t]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ae()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",F,i]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[p]}],saturate:[{saturate:[T]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"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:S()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[J,i]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[W]}],"skew-y":[{"skew-y":[W]}],"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","te-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":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,z,de]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ze=St(Xt);function m(...e){return ze((0,Fe.clsx)(e))}var te=require("react/jsx-runtime"),Le=({className:e,content:t,style:r})=>(0,te.jsx)("div",{className:m("mx-auto my-8 w-full",e),children:(0,te.jsx)("div",{className:m("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,te.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var De=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Ue=H(require("react")),qt=(0,Ge.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"}}}),D=Ue.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,te.jsx)(e?De.Slot:"button",{className:m(qt({className:t,size:r,variant:n})),ref:o,...s}));D.displayName="Button";var ue=H(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:d}=e,g=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}`:d;if(!g)return null;let p=r==="link"?"clear":c,u=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,te.jsxs)(ue.default,{className:m(s),href:g||d||"",...u,children:[o&&o,n&&n]}):(0,te.jsx)(D,{asChild:!0,className:s,size:p,variant:r,children:(0,te.jsxs)(ue.default,{className:m(s),href:g||d||"",...u,children:[o&&o,n&&n]})})};var Oe=({links:e,richText:t})=>(0,te.jsx)("div",{className:"container",children:(0,te.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,te.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,te.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,te.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,te.jsx)(X,{size:"lg",...r},n))})]})});var re=require("prism-react-renderer");var Ve=require("lucide-react"),Qe=require("react");function je({code:e}){let[t,r]=(0,Qe.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,te.jsx)("div",{className:"flex justify-end align-middle",children:(0,te.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,te.jsx)("p",{children:t}),(0,te.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,te.jsx)(Ve.ClipboardCopy,{})})]})})}var _e=({code:e,language:t=""})=>e?(0,te.jsx)(re.Highlight,{code:e,language:t,theme:re.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,te.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,te.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,te.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,te.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,te.jsx)("span",{...n({token:a})},c))})]},l)),(0,te.jsx)(je,{code:e})]})}):null;var Je=({className:e,code:t,language:r})=>(0,te.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,te.jsx)(_e,{code:t,language:r})});var Ye=H(require("next/image")),Wt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ke="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=",Xe=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,d,g,p=t,u=a||"";if(!u&&o&&typeof o=="object"){let{alt:b,filename:y,height:w,url:N,width:T}=o;d=T,g=w,p=b||"",u=N||Ke}let v=c||"lazy",k=l||Object.entries(Wt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,te.jsx)("picture",{children:(0,te.jsx)(Ye.default,{alt:p||"",className:m(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Ke,priority:v!=="lazy"&&s,quality:100,loading:v,sizes:k,src:u,width:r?void 0:d})})};var qe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var We=()=>{if(qe){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 Ze=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,Qe.useRef)(null);if((0,Qe.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,te.jsx)("video",{autoPlay:!0,className:m(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,te.jsx)("source",{src:`${We()}/media/${o}`})})}return null};var Q=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,te.jsx)(r||$e.Fragment,{...r!==null?{className:t}:{},children:s?(0,te.jsx)(Ze,{...e}):(0,te.jsx)(Xe,{...e})})};var et=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,te.jsx)("div",{className:m("",{container:r},t),children:(0,te.jsx)(Q,{imgClassName:m("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,te.jsx)("div",{className:m("",{container:r},t),children:(0,te.jsx)(Q,{imgClassName:m("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var rt=({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,te.jsx)("i",{className:a})};function Zt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nt({variant:e="light",className:t,icon:r,heading:n,subheading:s,content:o,statistic:l,buttonText:a,buttonHref:c}){return(0,te.jsxs)("div",{className:m("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,te.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,te.jsx)("div",{className:m("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Zt(r)?(0,te.jsx)(rt,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,te.jsx)("h2",{className:m("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,te.jsx)("div",{className:"mb-6",children:(0,te.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:l})}),s&&(0,te.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,te.jsx)("div",{className:m("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,te.jsx)(R,{enableGutter:!1,content:o,enableProse:!1,className:m(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,te.jsx)("div",{className:m("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),a&&(0,te.jsx)("div",{className:"mt-8",children:(0,te.jsx)(D,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,te.jsxs)("a",{href:c,children:[a,(0,te.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,te.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 st=({title:e,description:t,features:r,id:n})=>(0,te.jsxs)("section",{className:m("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,te.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,te.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,te.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,te.jsx)(R,{content:t,enableGutter:!1})}),(0,te.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,d,g;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,te.jsx)($t,{section:s,index:o},o);{let p=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,te.jsx)(nt,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:p()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(d=s.link)!=null&&d.url?"Find out more":void 0,buttonHref:((g=s.link)==null?void 0:g.url)||void 0},o)}})})]}),$t=({section:e,index:t})=>{if(!e)return null;let r=(0,te.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,te.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,te.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,te.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,te.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,te.jsx)("div",{className:"text-lg opacity-80",children:(0,te.jsx)(R,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,te.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var se=H(require("react"));function q({nodes:e}){return(0,te.jsx)(se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,te.jsx)(se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,te.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,te.jsx)("em",{children:o},r)),t.format&4&&(o=(0,te.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,te.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,te.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,te.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,te.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,te.jsx)("table",{children:(0,te.jsx)("tbody",{children:t.children.map((o,l)=>(0,te.jsx)("tr",{children:o.children.map((a,c)=>(0,te.jsx)("td",{children:q({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 q({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,te.jsx)(Oe,{...o},r);case"mediaBlock":return(0,te.jsx)(et,{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,te.jsx)(tt,{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,te.jsx)(Le,{className:"col-start-2 mb-4",...o},r);case"code":return(0,te.jsx)(Je,{className:"col-start-2",...o},r);case"features":return(0,te.jsx)(st,{...o},r);case"reusableContentBlock":q({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,te.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,te.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,te.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,te.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,te.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,te.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,te.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,te.jsx)(X,{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,te.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,te.jsx)("div",{className:m({"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&&q({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var lt=require("next/navigation");function er({external:e=!1,newTab:t=!1,scroll:r=!0}){let n=(0,lt.useRouter)(),s=(0,Qe.useRef)(null),o=(0,Qe.useRef)(null),l=(0,Qe.useRef)(0),a=(0,Qe.useRef)(!1),c=(0,Qe.useRef)(0),d=(0,Qe.useCallback)(p=>{if(p.target){let u=p.target,v=+new Date,k=u==null?void 0:u.closest("a");c.current=p.button,k?a.current=!0:(a.current=!1,l.current=v)}},[n,s,o,l]),g=(0,Qe.useCallback)(p=>{var u,v;if((u=o.current)!=null&&u.href){let b=+new Date-l.current;if((v=o.current)!=null&&v.href&&b<=250&&!a.current&&c.current===0&&!p.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(o.current.href,y)}else n.push(o.current.href,{scroll:r})}},[n,s,o,l]);return(0,Qe.useEffect)(()=>{let p=s.current;return p&&(p.addEventListener("mousedown",d),p.addEventListener("mouseup",g)),()=>{p&&p&&(p==null||p.removeEventListener("mousedown",d),p==null||p.removeEventListener("mouseup",g))}},[s,o,n]),{card:{ref:s},link:{ref:o}}}var it=er;var ct=H(require("next/link"));var dt=e=>{let{card:t,link:r}=it({}),{className:n,doc:s,relationTo:o,showCategories:l,title:a}=e,{slug:c,categories:d,meta:g,title:p}=s||{},{description:u,image:v}=g||{},k=d&&Array.isArray(d)&&d.length>0,b=a||p,y=u==null?void 0:u.replace(/\s/g," "),w=`/${o}/${c}`;return(0,te.jsxs)("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:t.ref,children:[(0,te.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,te.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,te.jsx)(Q,{resource:v,size:"33vw"})]}),(0,te.jsxs)("div",{className:"p-4",children:[l&&k&&(0,te.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&k&&(0,te.jsx)("div",{children:d==null?void 0:d.map((N,T)=>{if(typeof N=="object"){let{title:I}=N,U=I||"Untitled category",W=T===d.length-1;return(0,te.jsxs)(Qe.Fragment,{children:[U,!W&&(0,te.jsx)(Qe.Fragment,{children:", \xA0"})]},T)}return null})})}),b&&(0,te.jsx)("div",{className:"prose",children:(0,te.jsx)("h3",{children:(0,te.jsx)(ct.default,{className:"not-prose",href:w,ref:r.ref,children:b})})}),u&&(0,te.jsx)("div",{className:"mt-2",children:u&&(0,te.jsx)("p",{children:y})})]})]})};var tr=e=>{let{className:t,docs:r,introContent:n}=e;return(0,te.jsxs)("div",{className:(0,pt.default)("container",t),children:[n&&(0,te.jsx)(R,{content:n,enableGutter:!1}),(0,te.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((s,o)=>typeof s=="string"?null:(0,te.jsx)(dt,{doc:s,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={RelatedPosts});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-BWT2MAIT.mjs";import"../../chunk-23EQTK7B.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-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-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RelatedPosts};
|