cortex-react-components 1.34.2 → 1.36.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-3ZQYE7M3.mjs → chunk-2EO72N63.mjs} +1 -1
- package/dist/chunk-3733OXCB.mjs +4 -0
- package/dist/{chunk-NZHUMOVD.mjs → chunk-3BWKZ2AC.mjs} +1 -1
- package/dist/chunk-65EMMROH.mjs +4 -0
- package/dist/{chunk-LHFZLDTD.mjs → chunk-7IV34VAC.mjs} +1 -1
- package/dist/{chunk-AO2FTKDA.mjs → chunk-BXWPTVDJ.mjs} +1 -1
- package/dist/chunk-CISFEKNL.mjs +4 -0
- package/dist/{chunk-XKUS4OC7.mjs → chunk-CWNEDSLD.mjs} +1 -1
- package/dist/{chunk-OBJPMP7L.mjs → chunk-DVCY7MNO.mjs} +1 -1
- package/dist/{chunk-OZ3WPHBH.mjs → chunk-HEWOGZDB.mjs} +1 -1
- package/dist/{chunk-OVAOTY36.mjs → chunk-IEVZUW7N.mjs} +1 -1
- package/dist/{chunk-PIHQ5WLE.mjs → chunk-IVJW45UL.mjs} +1 -1
- package/dist/chunk-LWOUUDOC.mjs +1 -0
- package/dist/{chunk-ULKXH4YN.mjs → chunk-MBCAGZ76.mjs} +1 -1
- package/dist/{chunk-A2QVFCP5.mjs → chunk-NSZZ2RZ3.mjs} +1 -1
- package/dist/chunk-NWW7KWJK.mjs +1 -0
- package/dist/{chunk-LXAGAIOE.mjs → chunk-OTP4FNET.mjs} +1 -1
- package/dist/chunk-P7QWSYDQ.mjs +1 -0
- package/dist/{chunk-3IHGGPRN.mjs → chunk-PEHJ7PCK.mjs} +1 -1
- package/dist/{chunk-6ZXYKK6J.mjs → chunk-TV5773SX.mjs} +1 -1
- package/dist/{chunk-FOMIQYMA.mjs → chunk-U4NCHUCT.mjs} +1 -1
- package/dist/{chunk-ZNC5NNDY.mjs → chunk-UIEJGUWN.mjs} +1 -1
- package/dist/chunk-UWVW5NGP.mjs +1 -0
- package/dist/{chunk-LQZTCLMG.mjs → chunk-Y2KKUQDU.mjs} +2 -2
- package/dist/{chunk-O2DBG3NV.mjs → chunk-ZK6ABH6O.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/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -5
- 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/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/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/EventCard.js +2 -2
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.js +2 -2
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.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.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.d.ts +8 -0
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +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/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/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Link/index.d.ts +1 -1
- package/dist/components/Payload/Link/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 +2 -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 +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +2 -2
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +2 -2
- 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 +190 -190
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +479 -111
- 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.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +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/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.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/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-3FTRFEVM.mjs +0 -4
- package/dist/chunk-456IOI6A.mjs +0 -1
- package/dist/chunk-BBLJ3L2P.mjs +0 -1
- package/dist/chunk-GFTFZ7JY.mjs +0 -4
- package/dist/chunk-K6CEB2MJ.mjs +0 -4
- package/dist/chunk-MZ45XGZG.mjs +0 -1
- package/dist/chunk-S7CP4YF5.mjs +0 -1
- package/dist/chunk-YAH6C5YX.mjs +0 -1
- package/dist/chunk-ZE5A5R73.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ye=Object.create;var J=Object.defineProperty;var Xe=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty;var $e=(e,r)=>{for(var t in r)J(e,t,{get:r[t],enumerable:!0})},we=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of qe(r))!Ze.call(e,s)&&s!==t&&J(e,s,{get:()=>r[s],enumerable:!(n=Xe(r,s))||n.enumerable});return e};var j=(e,r,t)=>(t=e!=null?Ye(We(e)):{},we(r||!e||!e.__esModule?J(t,"default",{value:e,enumerable:!0}):t,e)),er=e=>we(J({},"__esModule",{value:!0}),e);var Lr={};$e(Lr,{serializeLexical:()=>U});module.exports=er(Lr);var Be=require("clsx");var ae="-",rr=e=>{let r=or(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ae);return a[0]===""&&a.length!==1&&a.shift(),Ae(a,r)||tr(l)},getConflictingClassGroupIds:(l,a)=>{let c=t[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Ae=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),s=n?Ae(e.slice(1),n):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(ae);return(l=r.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},xe=/^\[(.+)\]$/,tr=e=>{if(xe.test(e)){let r=xe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},or=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return sr(Object.entries(e.classGroups),t).forEach(([o,l])=>{se(l,n,o,r)}),n},se=(e,r,t,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:ve(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(nr(s)){se(s(n),r,t,n);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,l])=>{se(l,ve(r,o),t,n)})})},ve=(e,r)=>{let t=e;return r.split(ae).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},nr=e=>e.isThemeGetter,sr=(e,r)=>r?e.map(([t,n])=>{let s=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[r+l,a])):o);return[t,s]}):e,ar=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,s=(o,l)=>{t.set(o,l),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let l=t.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){t.has(o)?t.set(o,l):s(o,l)}}},ke="!",lr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,s=r[0],o=r.length,l=a=>{let c=[],m=0,g=0,x;for(let b=0;b<a.length;b++){let h=a[b];if(m===0){if(h===s&&(n||a.slice(b,b+o)===r)){c.push(a.slice(g,b)),g=b+o;continue}if(h==="/"){x=b;continue}}h==="["?m++:h==="]"&&m--}let y=c.length===0?a:a.substring(g),A=y.startsWith(ke),k=A?y.substring(1):y,f=x&&x>g?x-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:l}):l},ir=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},cr=e=>({cache:ar(e.cacheSize),parseClassName:lr(e),...rr(e)}),dr=/\s+/,pr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:s}=r,o=[],l=e.trim().split(dr),a="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:g,hasImportantModifier:x,baseClassName:y,maybePostfixModifierPosition:A}=t(m),k=!!A,f=n(k?y.substring(0,A):y);if(!f){if(!k){a=m+(a.length>0?" "+a:a);continue}if(f=n(y),!f){a=m+(a.length>0?" "+a:a);continue}k=!1}let b=ir(g).join(":"),h=x?b+ke:b,v=h+f;if(o.includes(v))continue;o.push(v);let S=s(f,k);for(let M=0;M<S.length;++M){let V=S[M];o.push(h+V)}a=m+(a.length>0?" "+a:a)}return a};function ur(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Ce(r))&&(n&&(n+=" "),n+=t);return n}var Ce=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Ce(e[n]))&&(t&&(t+=" "),t+=r);return t};function mr(e,...r){let t,n,s,o=l;function l(c){let m=r.reduce((g,x)=>x(g),e());return t=cr(m),n=t.cache.get,s=t.cache.set,o=a,a(c)}function a(c){let m=n(c);if(m)return m;let g=pr(c,t);return s(c,g),g}return function(){return o(ur.apply(null,arguments))}}var p=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Re=/^\[(?:([a-z-]+):)?(.+)\]$/i,gr=/^\Te+\/\Te+$/,fr=new Set(["px","full","screen"]),br=/^(\Te+(\.\Te+)?)?(xs|sm|md|lg|xl)$/,yr=/\Te+(%|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$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wr=/^(inset_)?-?((\Te+)?\.?(\Te+)[a-z]+|0)_-?((\Te+)?\.?(\Te+)[a-z]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>z(e)||fr.has(e)||gr.test(e),N=e=>E(e,"length",Br),z=e=>!!e&&!Number.isNaN(Number(e)),ne=e=>E(e,"number",z),F=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&z(e.slice(0,-1)),i=e=>Re.test(e),B=e=>br.test(e),Ar=new Set(["length","size","percentage"]),kr=e=>E(e,Ar,Pe),Cr=e=>E(e,"position",Pe),Rr=new Set(["image","url"]),Pr=e=>E(e,Rr,Sr),Nr=e=>E(e,"",Tr),G=()=>!0,E=(e,r,t)=>{let n=Re.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Br=e=>yr.test(e)&&!hr.test(e),Pe=()=>!1,Tr=e=>wr.test(e),Sr=e=>xr.test(e);var Mr=()=>{let e=p("colors"),r=p("spacing"),t=p("blur"),n=p("brightness"),s=p("borderColor"),o=p("borderRadius"),l=p("borderSpacing"),a=p("borderWidth"),c=p("contrast"),m=p("grayscale"),g=p("hueRotate"),x=p("invert"),y=p("gap"),A=p("gradientColorStops"),k=p("gradientColorStopPositions"),f=p("inset"),b=p("margin"),h=p("opacity"),v=p("padding"),S=p("saturate"),M=p("scale"),V=p("sepia"),ue=p("skew"),me=p("space"),ge=p("translate"),ee=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",i,r],u=()=>[i,r],fe=()=>["",R,N],O=()=>["auto",z,i],be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],he=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[z,i];return{cacheSize:500,separator:":",theme:{colors:[G],spacing:[R,N],blur:["none","",B,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",B,i],borderSpacing:u(),borderWidth:fe(),contrast:C(),grayscale:L(),hueRotate:C(),invert:L(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[vr,N],inset:te(),margin:te(),opacity:C(),padding:u(),saturate:C(),scale:C(),sepia:L(),skew:C(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":he()}],"break-before":[{"break-before":he()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...be(),i]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],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",F,i]}],basis:[{basis:te()}],"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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",F,i]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",F,i]},i]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[F,i]},i]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"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:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],Te:[{Te:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[me]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",B,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ne]}],"font-family":[{font:[G]}],"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",z,ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,N]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"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":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...be(),Cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...Q(),"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":[h]}],"divide-style":[{divide:Q()}],"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:["",...Q()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[R,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,Nr]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",B,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[x]}],saturate:[{saturate:[S]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"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:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[F,i]}],"translate-x":[{"translate-x":[ge]}],"translate-y":[{"translate-y":[ge]}],"skew-x":[{"skew-x":[ue]}],"skew-y":[{"skew-y":[ue]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":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-Te":[{"scroll-Te":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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,N,ne]}],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","Te","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-Te","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 Ne=mr(Mr);function w(...e){return Ne((0,Be.clsx)(e))}var Te=require("react/jsx-runtime"),_=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var s;return r?(0,Te.jsx)("div",{className:w({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&U({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null};var Se=({className:e,content:r,style:t})=>(0,Te.jsx)("div",{className:w("mx-auto my-8 w-full",e),children:(0,Te.jsx)("div",{className:w("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,Te.jsx)(_,{content:r,enableGutter:!1,enableProse:!1})})});var Me=require("@radix-ui/react-slot"),Ie=require("class-variance-authority"),ze=j(require("react")),Ir=(0,Ie.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),D=ze.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...s},o)=>(0,Te.jsx)(e?Me.Slot:"button",{className:w(Ir({className:r,size:t,variant:n})),ref:o,...s}));D.displayName="Button";var le=j(require("next/link")),Y=e=>{let{type:r,appearance:t="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:m}=e,g=r==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:m;if(!g)return null;let x=t==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,Te.jsxs)(le.default,{className:w(s),href:g||m||"",...y,children:[o&&o,n&&n]}):(0,Te.jsx)(D,{asChild:!0,className:s,size:x,variant:t,children:(0,Te.jsxs)(le.default,{className:w(s),href:g||m||"",...y,children:[o&&o,n&&n]})})};var Le=({links:e,richText:r})=>(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:r&&(0,Te.jsx)(_,{className:"mb-0",content:r,enableGutter:!1})}),(0,Te.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,Te.jsx)(Y,{size:"lg",...t},n))})]})});var X=require("prism-react-renderer");var Fe=require("lucide-react"),Ge=require("react");function Ue({code:e}){let[r,t]=(0,Ge.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"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:r}),(0,Te.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Te.jsx)(Fe.ClipboardCopy,{})})]})})}var De=({code:e,language:r=""})=>e?(0,Te.jsx)(X.Highlight,{code:e,language:r,theme:X.themes.vsDark,children:({getLineProps:t,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",{...t({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)(Ue,{code:e})]})}):null;var He=({className:e,code:r,language:t})=>(0,Te.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Te.jsx)(De,{code:r,language:t})});var Oe=j(require("next/image"));var Ve=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var q=()=>{if(Ve){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var zr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Er="data:image/png;base64,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",Qe=e=>{let{alt:r,fill:t,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,m,g,x=r,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:f,filename:b,height:h,url:v,width:S}=o;m=S,g=h,x=f||"",y=`${q()}${v}`}let A=c||"lazy",k=l||Object.entries(zr).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,Te.jsx)("picture",{children:(0,Te.jsx)(Oe.default,{alt:x||"",className:w(n),fill:t,height:t?void 0:g,placeholder:"blur",blurDataURL:Er,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:k,src:y,width:t?void 0:m})})};var Je=e=>{let{onClick:r,resource:t,videoClassName:n}=e,s=(0,Ge.useRef)(null);if((0,Ge.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,Te.jsx)("video",{autoPlay:!0,className:w(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,Te.jsx)("source",{src:`${q()}/media/${o}`})})}return null};var _e=e=>{var l;let{className:r,htmlElement:t="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)(t||Ge.Fragment,{...t!==null?{className:r}:{},children:s?(0,Te.jsx)(Je,{...e}):(0,Te.jsx)(Qe,{...e})})};var Ke=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Te.jsx)("div",{className:w("",{container:t},r),children:(0,Te.jsx)(_e,{imgClassName:w("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var $=j(require("react"));function U({nodes:e}){return(0,Te.jsx)($.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"){let o=(0,Te.jsx)($.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,Te.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,Te.jsx)("em",{children:o},t)),r.format&4&&(o=(0,Te.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,Te.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,Te.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,Te.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,Te.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,Te.jsx)("table",{children:(0,Te.jsx)("tbody",{children:r.children.map((o,l)=>(0,Te.jsx)("tr",{children:o.children.map((a,c)=>(0,Te.jsx)("td",{children:U({nodes:a.children})},c))},l))})},t);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 U({nodes:o.children})},s="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Te.jsx)(Le,{...o},t);case"mediaBlock":return(0,Te.jsx)(Ke,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,Te.jsx)(Se,{className:"col-start-2 mb-4",...o},t);case"code":return(0,Te.jsx)(He,{className:"col-start-2",...o},t);default:return null}}else switch(r.type){case"linebreak":return(0,Te.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,Te.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,Te.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,Te.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,Te.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,Te.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,Te.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,Te.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}0&&(module.exports={serializeLexical});
|
|
4
|
+
"use strict";var qe=Object.create;var J=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var $e=Object.getPrototypeOf,et=Object.prototype.hasOwnProperty;var tt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},we=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ze(e))!et.call(t,s)&&s!==r&&J(t,s,{get:()=>e[s],enumerable:!(n=We(e,s))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?qe($e(t)):{},we(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),rt=t=>we(J({},"__esModule",{value:!0}),t);var Lt={};tt(Lt,{serializeLexical:()=>H});module.exports=rt(Lt);var Te=require("clsx");var le="-",ot=t=>{let e=st(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:l=>{let a=l.split(le);return a[0]===""&&a.length!==1&&a.shift(),Ae(a,e)||nt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Ae=(t,e)=>{var l;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),s=n?Ae(t.slice(1),n):void 0;if(s)return s;if(e.validators.length===0)return;let o=t.join(le);return(l=e.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},ve=/^\[(.+)\]$/,nt=t=>{if(ve.test(t)){let e=ve.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},st=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return lt(Object.entries(t.classGroups),r).forEach(([o,l])=>{ae(l,n,o,e)}),n},ae=(t,e,r,n)=>{t.forEach(s=>{if(typeof s=="string"){let o=s===""?e:ke(e,s);o.classGroupId=r;return}if(typeof s=="function"){if(at(s)){ae(s(n),e,r,n);return}e.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ae(l,ke(e,o),r,n)})})},ke=(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},at=t=>t.isThemeGetter,lt=(t,e)=>e?t.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[e+l,a])):o);return[r,s]}):t,it=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),e++,e>t&&(e=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)}}},Ce="!",ct=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,s=e[0],o=e.length,l=a=>{let c=[],m=0,g=0,w;for(let b=0;b<a.length;b++){let x=a[b];if(m===0){if(x===s&&(n||a.slice(b,b+o)===e)){c.push(a.slice(g,b)),g=b+o;continue}if(x==="/"){w=b;continue}}x==="["?m++:x==="]"&&m--}let h=c.length===0?a:a.substring(g),A=h.startsWith(Ce),C=A?h.substring(1):h,f=w&&w>g?w-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:f}};return r?a=>r({className:a,parseClassName:l}):l},dt=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},pt=t=>({cache:it(t.cacheSize),parseClassName:ct(t),...ot(t)}),ut=/\s+/,mt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=e,o=[],l=t.trim().split(ut),a="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:g,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:A}=r(m),C=!!A,f=n(C?h.substring(0,A):h);if(!f){if(!C){a=m+(a.length>0?" "+a:a);continue}if(f=n(h),!f){a=m+(a.length>0?" "+a:a);continue}C=!1}let b=dt(g).join(":"),x=w?b+Ce:b,k=x+f;if(o.includes(k))continue;o.push(k);let M=s(f,C);for(let I=0;I<M.length;++I){let Q=M[I];o.push(x+Q)}a=m+(a.length>0?" "+a:a)}return a};function gt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Ne(e))&&(n&&(n+=" "),n+=r);return n}var Ne=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Ne(t[n]))&&(r&&(r+=" "),r+=e);return r};function ft(t,...e){let r,n,s,o=l;function l(c){let m=e.reduce((g,w)=>w(g),t());return r=pt(m),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let m=n(c);if(m)return m;let g=mt(c,r);return s(c,g),g}return function(){return o(gt.apply(null,arguments))}}var p=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Pe=/^\[(?:([a-z-]+):)?(.+)\]$/i,bt=/^\Se+\/\Se+$/,yt=new Set(["px","full","screen"]),ht=/^(\Se+(\.\Se+)?)?(xs|sm|md|lg|xl)$/,xt=/\Se+(%|px|r?em|[sdl]?Se([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,vt=/^(inset_)?-?((\Se+)?\.?(\Se+)[a-z]+|0)_-?((\Se+)?\.?(\Se+)[a-z]+|0)/,kt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=t=>F(t)||yt.has(t)||bt.test(t),B=t=>G(t,"length",St),F=t=>!!t&&!Number.isNaN(Number(t)),se=t=>G(t,"number",F),U=t=>!!t&&Number.isInteger(Number(t)),At=t=>t.endsWith("%")&&F(t.slice(0,-1)),i=t=>Pe.test(t),T=t=>ht.test(t),Ct=new Set(["length","size","percentage"]),Nt=t=>G(t,Ct,Re),Pt=t=>G(t,"position",Re),Rt=new Set(["image","url"]),Bt=t=>G(t,Rt,It),Tt=t=>G(t,"",Mt),D=()=>!0,G=(t,e,r)=>{let n=Pe.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},St=t=>xt.test(t)&&!wt.test(t),Re=()=>!1,Mt=t=>vt.test(t),It=t=>kt.test(t);var zt=()=>{let t=p("colors"),e=p("spacing"),r=p("blur"),n=p("brightness"),s=p("borderColor"),o=p("borderRadius"),l=p("borderSpacing"),a=p("borderWidth"),c=p("contrast"),m=p("grayscale"),g=p("hueRotate"),w=p("invert"),h=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),f=p("inset"),b=p("margin"),x=p("opacity"),k=p("padding"),M=p("saturate"),I=p("scale"),Q=p("sepia"),me=p("skew"),ge=p("space"),fe=p("translate"),te=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",i,e],u=()=>[i,e],be=()=>["",P,B],j=()=>["auto",F,i],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[F,i];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[P,B],blur:["none","",T,i],brightness:N(),borderColor:[t],borderRadius:["none","","full",T,i],borderSpacing:u(),borderWidth:be(),contrast:N(),grayscale:L(),hueRotate:N(),invert:L(),gap:u(),gradientColorStops:[t],gradientColorStopPositions:[At,B],inset:oe(),margin:oe(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:L(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":xe()}],"break-before":[{"break-before":xe()}],"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:[...ye(),i]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],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",U,i]}],basis:[{basis:oe()}],"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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",U,i]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",U,i]},i]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[U,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"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]}],Se:[{Se:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"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:[T]},T]}],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",T,B]}],"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:[D]}],"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",F,se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,B]}],"underline-offset":[{"underline-offset":["auto",P,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"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:[...ye(),Pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Bt]}],"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:[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":[x]}],"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":[x]}],"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":[P,i]}],"outline-w":[{outline:[P,B]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,B]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",T,Tt]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",T,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[w]}],saturate:[{saturate:[M]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"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:N()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:N()}],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:[U,i]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"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-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":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-Se":[{"scroll-Se":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",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[P,B,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","Se","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-Se","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 Be=ft(zt);function y(...t){return Be((0,Te.clsx)(t))}var Se=require("react/jsx-runtime"),z=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var s;return e?(0,Se.jsx)("div",{className:y({"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&&H({nodes:(s=e==null?void 0:e.root)==null?void 0:s.children})}):null};var Me=({className:t,content:e,style:r})=>(0,Se.jsx)("div",{className:y("mx-auto my-8 w-full",t),children:(0,Se.jsx)("div",{className:y("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,Se.jsx)(z,{content:e,enableGutter:!1,enableProse:!1})})});var Ie=require("@radix-ui/react-slot"),ze=require("class-variance-authority"),Ee=K(require("react")),Et=(0,ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),V=Ee.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...s},o)=>(0,Se.jsx)(t?Ie.Slot:"button",{className:y(Et({className:e,size:r,variant:n})),ref:o,...s}));V.displayName="Button";var ie=K(require("next/link")),X=t=>{let{type:e,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:m}=t,g=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:m;if(!g)return null;let w=r==="link"?"clear":c,h=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Se.jsxs)(ie.default,{className:y(s),href:g||m||"",...h,children:[o&&o,n&&n]}):(0,Se.jsx)(V,{asChild:!0,className:s,size:w,variant:r,children:(0,Se.jsxs)(ie.default,{className:y(s),href:g||m||"",...h,children:[o&&o,n&&n]})})};var Ge=({links:t,richText:e})=>(0,Se.jsx)("div",{className:"container",children:(0,Se.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,Se.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,Se.jsx)(z,{className:"mb-0",content:e,enableGutter:!1})}),(0,Se.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,Se.jsx)(X,{size:"lg",...r},n))})]})});var q=require("prism-react-renderer");var Le=require("lucide-react"),Ue=require("react");function De({code:t}){let[e,r]=(0,Ue.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Se.jsx)("div",{className:"flex justify-end align-middle",children:(0,Se.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,Se.jsx)("p",{children:e}),(0,Se.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Se.jsx)(Le.ClipboardCopy,{})})]})})}var He=({code:t,language:e=""})=>t?(0,Se.jsx)(q.Highlight,{code:t,language:e,theme:q.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Se.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Se.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Se.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Se.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Se.jsx)("span",{...n({token:a})},c))})]},l)),(0,Se.jsx)(De,{code:t})]})}):null;var Ve=({className:t,code:e,language:r})=>(0,Se.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Se.jsx)(He,{code:e,language:r})});var Qe=K(require("next/image"));var Oe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var W=()=>{if(Oe){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 Ft={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Gt="data:image/png;base64,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",je=t=>{let{alt:e,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=t,m,g,w=e,h=a||"";if(!h&&o&&typeof o=="object"){let{alt:f,filename:b,height:x,url:k,width:M}=o;m=M,g=x,w=f||"",h=`${W()}${k}`}let A=c||"lazy",C=l||Object.entries(Ft).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,Se.jsx)("picture",{children:(0,Se.jsx)(Qe.default,{alt:w||"",className:y(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Gt,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:C,src:h,width:r?void 0:m})})};var _e=t=>{let{onClick:e,resource:r,videoClassName:n}=t,s=(0,Ue.useRef)(null);if((0,Ue.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Se.jsx)("video",{autoPlay:!0,className:y(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:s,children:(0,Se.jsx)("source",{src:`${W()}/media/${o}`})})}return null};var Ke=t=>{var l;let{className:e,htmlElement:r="div",resource:n}=t,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,$.jsx)(r||Ue.Fragment,{...r!==null?{className:e}:{},children:s?(0,$.jsx)(_e,{...t}):(0,$.jsx)(je,{...t})})};var Ye=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,Se.jsx)("div",{className:y("",{container:r},e),children:(0,Se.jsx)(Ke,{imgClassName:y("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var Xe=({title:t,description:e,features:r,id:n})=>(0,Se.jsxs)("section",{className:y("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Se.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,Se.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,Se.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Se.jsx)(z,{content:e,enableGutter:!1})}),(0,Se.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let l=(0,Se.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Se.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Se.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,Se.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,Se.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,Se.jsx)("div",{className:"text-lg opacity-80",children:(0,Se.jsx)(z,{content:s.content,enableGutter:!1})})]},o);return console.log("link",s.link),s.link?(0,Se.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:l},o):l})})]});var ee=K(require("react"));function H({nodes:t}){return(0,Se.jsx)(ee.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,Se.jsx)(ee.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,Se.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,Se.jsx)("em",{children:o},r)),e.format&4&&(o=(0,Se.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,Se.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,Se.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,Se.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,Se.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,Se.jsx)("table",{children:(0,Se.jsx)("tbody",{children:e.children.map((o,l)=>(0,Se.jsx)("tr",{children:o.children.map((a,c)=>(0,Se.jsx)("td",{children:H({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 H({nodes:o.children})},s="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Se.jsx)(Ge,{...o},r);case"mediaBlock":return(0,Se.jsx)(Ye,{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,Se.jsx)(Me,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Se.jsx)(Ve,{className:"col-start-2",...o},r);case"features":return(0,Se.jsx)(Xe,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,Se.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Se.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=e==null?void 0:e.tag;return(0,Se.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:s},r)}case"list":{let o=e==null?void 0:e.tag;return(0,Se.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,Se.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:s},r):(0,Se.jsx)("li",{value:e==null?void 0:e.value,children:s},r);case"quote":return(0,Se.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=e.fields;return(0,Se.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}})})}0&&(module.exports={serializeLexical});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as a}from"../../../chunk-UWVW5NGP.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-NWW7KWJK.mjs";import"../../../chunk-ODLDYXPZ.mjs";import"../../../chunk-QRNJ7O2L.mjs";import"../../../chunk-7WBETZEV.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-763KMQIQ.mjs";import"../../../chunk-J2VQUYES.mjs";import"../../../chunk-SJWGFZJ6.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-GLEWUUGS.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-6K2R3OAD.mjs";import"../../../chunk-D2WXBUVJ.mjs";export{a as serializeLexical};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Xe=Object.create;var j=Object.defineProperty;var qe=Object.getOwnPropertyDescriptor;var We=Object.getOwnPropertyNames;var Ze=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty;var et=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},we=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of We(t))!$e.call(e,n)&&n!==r&&j(e,n,{get:()=>t[n],enumerable:!(s=qe(t,n))||s.enumerable});return e};var J=(e,t,r)=>(r=e!=null?Xe(Ze(e)):{},we(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),tt=e=>we(j({},"__esModule",{value:!0}),e);var Dt={};et(Dt,{Default:()=>Ut,default:()=>Lt});module.exports=tt(Dt);var Be=require("clsx");var le="-",rt=e=>{let t=st(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:l=>{let a=l.split(le);return a[0]===""&&a.length!==1&&a.shift(),Ce(a,t)||ot(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&s[l]?[...c,...s[l]]:c}}},Ce=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),n=s?Ce(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(le);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},ve=/^\[(.+)\]$/,ot=e=>{if(ve.test(e)){let t=ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},st=e=>{let{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return at(Object.entries(e.classGroups),r).forEach(([o,l])=>{ae(l,s,o,t)}),s},ae=(e,t,r,s)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ae(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(nt(n)){ae(n(s),t,r,s);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,l])=>{ae(l,Ae(t,o),r,s)})})},Ae=(e,t)=>{let r=e;return t.split(le).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},nt=e=>e.isThemeGetter,at=(e,t)=>t?e.map(([r,s])=>{let n=s.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,n]}):e,lt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map,n=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,s=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=s.get(o))!==void 0)return n(o,l),l},set(o,l){r.has(o)?r.set(o,l):n(o,l)}}},ke="!",it=e=>{let{separator:t,experimentalParseClassName:r}=e,s=t.length===1,n=t[0],o=t.length,l=a=>{let c=[],m=0,g=0,w;for(let b=0;b<a.length;b++){let h=a[b];if(m===0){if(h===n&&(s||a.slice(b,b+o)===t)){c.push(a.slice(g,b)),g=b+o;continue}if(h==="/"){w=b;continue}}h==="["?m++:h==="]"&&m--}let y=c.length===0?a:a.substring(g),A=y.startsWith(ke),C=A?y.substring(1):y,f=w&&w>g?w-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:f}};return r?a=>r({className:a,parseClassName:l}):l},ct=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},dt=e=>({cache:lt(e.cacheSize),parseClassName:it(e),...rt(e)}),pt=/\s+/,ut=(e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=t,o=[],l=e.trim().split(pt),a="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:g,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:A}=r(m),C=!!A,f=s(C?y.substring(0,A):y);if(!f){if(!C){a=m+(a.length>0?" "+a:a);continue}if(f=s(y),!f){a=m+(a.length>0?" "+a:a);continue}C=!1}let b=ct(g).join(":"),h=w?b+ke:b,v=h+f;if(o.includes(v))continue;o.push(v);let S=n(f,C);for(let M=0;M<S.length;++M){let O=S[M];o.push(h+O)}a=m+(a.length>0?" "+a:a)}return a};function mt(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Re(t))&&(s&&(s+=" "),s+=r);return s}var Re=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=Re(e[s]))&&(r&&(r+=" "),r+=t);return r};function gt(e,...t){let r,s,n,o=l;function l(c){let m=t.reduce((g,w)=>w(g),e());return r=dt(m),s=r.cache.get,n=r.cache.set,o=a,a(c)}function a(c){let m=s(c);if(m)return m;let g=ut(c,r);return n(c,g),g}return function(){return o(mt.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Te=/^\[(?:([a-_-]+):)?(.+)\]$/i,ft=/^\_+\/\_+$/,bt=new Set(["px","full","screen"]),yt=/^(\_+(\.\_+)?)?(xs|sm|md|lg|xl)$/,ht=/\_+(%|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$/,xt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wt=/^(inset_)?-?((\_+)?\.?(\_+)[a-_]+|0)_-?((\_+)?\.?(\_+)[a-_]+|0)/,vt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>E(e)||bt.has(e)||ft.test(e),P=e=>G(e,"length",Bt),E=e=>!!e&&!Number.isNaN(Number(e)),ne=e=>G(e,"number",E),F=e=>!!e&&Number.isInteger(Number(e)),At=e=>e.endsWith("%")&&E(e.slice(0,-1)),i=e=>Te.test(e),N=e=>yt.test(e),Ct=new Set(["length","size","percentage"]),kt=e=>G(e,Ct,Pe),Rt=e=>G(e,"position",Pe),Tt=new Set(["image","url"]),Pt=e=>G(e,Tt,Mt),Nt=e=>G(e,"",St),U=()=>!0,G=(e,t,r)=>{let s=Te.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},Bt=e=>ht.test(e)&&!xt.test(e),Pe=()=>!1,St=e=>wt.test(e),Mt=e=>vt.test(e);var It=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),s=p("brightness"),n=p("borderColor"),o=p("borderRadius"),l=p("borderSpacing"),a=p("borderWidth"),c=p("contrast"),m=p("grayscale"),g=p("hueRotate"),w=p("invert"),y=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),f=p("inset"),b=p("margin"),h=p("opacity"),v=p("padding"),S=p("saturate"),M=p("scale"),O=p("sepia"),me=p("skew"),ge=p("space"),fe=p("translate"),te=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",i,t],u=()=>[i,t],be=()=>["",R,P],V=()=>["auto",E,i],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],he=()=>["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"],L=()=>["","0",i],xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[E,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[R,P],blur:["none","",N,i],brightness:k(),borderColor:[e],borderRadius:["none","","full",N,i],borderSpacing:u(),borderWidth:be(),contrast:k(),grayscale:L(),hueRotate:k(),invert:L(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[At,P],inset:oe(),margin:oe(),opacity:k(),padding:u(),saturate:k(),scale:k(),sepia:L(),skew:k(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":xe()}],"break-before":[{"break-before":xe()}],"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:[...ye(),i]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],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"],_:[{_:["auto",F,i]}],basis:[{basis:oe()}],"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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",F,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",F,i]},i]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[F,i]},i]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"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:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"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"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],_:[{_:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"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:[N]},N]}],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",N,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ne]}],"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",i]}],"line-clamp":[{"line-clamp":["none",E,ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,P]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"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":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ye(),Rt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pt]}],"bg-color":[{bg:[e]}],"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-_":[{"rounded-_":[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":[h]}],"border-style":[{border:[...Q(),"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":[h]}],"divide-style":[{divide:Q()}],"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:["",...Q()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[R,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,Nt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",N,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[w]}],saturate:[{saturate:[S]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"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:k()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[F,i]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":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-_":[{"scroll-_":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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,P,ne]}],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","_","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-_","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-_"],"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-_","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 Ne=gt(It);function x(...e){return Ne((0,Be.clsx)(e))}var _=require("react/jsx-runtime"),Se=({className:e,content:t,style:r})=>(0,_.jsx)("div",{className:x("mx-auto my-8 w-full",e),children:(0,_.jsx)("div",{className:x("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:t,enableGutter:!1,enableProse:!1})})});var Me=require("@radix-ui/react-slot"),Ie=require("class-variance-authority"),ze=J(require("react")),zt=(0,Ie.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),D=ze.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...n},o)=>(0,_.jsx)(e?Me.Slot:"button",{className:x(zt({className:t,size:r,variant:s})),ref:o,...n}));D.displayName="Button";var ie=J(require("next/link")),K=e=>{let{type:t,appearance:r="inline",children:s,className:n,label:o,newTab:l,reference:a,size:c,url:m}=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}`:m;if(!g)return null;let w=r==="link"?"clear":c,y=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_.jsxs)(ie.default,{className:x(n),href:g||m||"",...y,children:[o&&o,s&&s]}):(0,_.jsx)(D,{asChild:!0,className:n,size:w,variant:r,children:(0,_.jsxs)(ie.default,{className:x(n),href:g||m||"",...y,children:[o&&o,s&&s]})})};var Ge=({links:e,richText:t})=>(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:t&&(0,_.jsx)(I,{className:"mb-0",content:t,enableGutter:!1})}),(0,_.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},s)=>(0,_.jsx)(K,{size:"lg",...r},s))})]})});var Y=require("prism-react-renderer");var Le=require("lucide-react"),Fe=require("react");function Ue({code:e}){let[t,r]=(0,Fe.useState)("Copy");function s(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_.jsx)("div",{className:"flex justify-end align-middle",children:(0,_.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,_.jsx)("p",{children:t}),(0,_.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_.jsx)(Le.ClipboardCopy,{})})]})})}var De=({code:e,language:t=""})=>e?(0,_.jsx)(Y.Highlight,{code:e,language:t,theme:Y.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,l)=>(0,_.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,_.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,_.jsx)("span",{...s({token:a})},c))})]},l)),(0,_.jsx)(Ue,{code:e})]})}):null;var He=({className:e,code:t,language:r})=>(0,_.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_.jsx)(De,{code:t,language:r})});var Ve=J(require("next/image"));var Oe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var X=()=>{if(Oe){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 Et={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Gt="data:image/png;base64,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",Qe=e=>{let{alt:t,fill:r,imgClassName:s,priority:n,resource:o,size:l,src:a,loading:c}=e,m,g,w=t,y=a||"";if(!y&&o&&typeof o=="object"){let{alt:f,filename:b,height:h,url:v,width:S}=o;m=S,g=h,w=f||"",y=`${X()}${v}`}let A=c||"lazy",C=l||Object.entries(Et).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,_.jsx)("picture",{children:(0,_.jsx)(Ve.default,{alt:w||"",className:x(s),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Gt,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:C,src:y,width:r?void 0:m})})};var je=e=>{let{onClick:t,resource:r,videoClassName:s}=e,n=(0,Fe.useRef)(null);if((0,Fe.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_.jsx)("video",{autoPlay:!0,className:x(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,_.jsx)("source",{src:`${X()}/media/${o}`})})}return null};var _e=e=>{var l;let{className:t,htmlElement:r="div",resource:s}=e,n=typeof s=="object"&&((l=s==null?void 0:s.mimeType)==null?void 0:l.includes("video"));return(0,_.jsx)(r||Fe.Fragment,{...r!==null?{className:t}:{},children:n?(0,_.jsx)(je,{...e}):(0,_.jsx)(Qe,{...e})})};var Ke=e=>{let{className:t,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=e;return(0,_.jsx)("div",{className:x("",{container:r},t),children:(0,_.jsx)(_e,{imgClassName:x("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var $=J(require("react"));function Z({nodes:e}){return(0,_.jsx)($.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,_.jsx)($.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_.jsx)("table",{children:(0,_.jsx)("tbody",{children:t.children.map((o,l)=>(0,_.jsx)("tr",{children:o.children.map((a,c)=>(0,_.jsx)("td",{children:Z({nodes:a.children})},c))},l))})},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 l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Z({nodes:o.children})},n="children"in t?s(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,_.jsx)(Ge,{...o},r);case"mediaBlock":return(0,_.jsx)(Ke,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_.jsx)(Se,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_.jsx)(He,{className:"col-start-2",...o},r);default:return null}}else switch(t.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=t==null?void 0:t.tag;return(0,_.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,_.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,_.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,_.jsx)(K,{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:e,content:t,enableGutter:r=!0,enableProse:s=!0})=>{var n;return t?(0,_.jsx)("div",{className:x({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Z({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Lt={title:"Blocks/RichText",component:I,tags:["autodocs"],decorators:[e=>(0,_.jsx)("div",{className:"bg-white dark:bg-gray-900 p-4",children:(0,_.jsx)(e,{})})]},Ft=e=>(0,_.jsx)(I,{...e}),Ut={render:Ft,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};0&&(module.exports={Default});
|
|
4
|
+
"use strict";var We=Object.create;var _=Object.defineProperty;var Ze=Object.getOwnPropertyDescriptor;var $e=Object.getOwnPropertyNames;var et=Object.getPrototypeOf,tt=Object.prototype.hasOwnProperty;var rt=(e,t)=>{for(var r in t)_(e,r,{get:t[r],enumerable:!0})},ve=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of $e(t))!tt.call(e,s)&&s!==r&&_(e,s,{get:()=>t[s],enumerable:!(n=Ze(t,s))||n.enumerable});return e};var J=(e,t,r)=>(r=e!=null?We(et(e)):{},ve(t||!e||!e.__esModule?_(r,"default",{value:e,enumerable:!0}):r,e)),ot=e=>ve(_({},"__esModule",{value:!0}),e);var Ot={};rt(Ot,{Default:()=>Ht,default:()=>Ut});module.exports=ot(Ot);var Se=require("clsx");var ie="-",nt=e=>{let t=at(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Ce(a,t)||st(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Ce=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Ce(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ie);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},ke=/^\[(.+)\]$/,st=e=>{if(ke.test(e)){let t=ke.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},at=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return it(Object.entries(e.classGroups),r).forEach(([o,l])=>{le(l,n,o,t)}),n},le=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ae(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(lt(s)){le(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{le(l,Ae(t,o),r,n)})})},Ae=(e,t)=>{let r=e;return t.split(ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},lt=e=>e.isThemeGetter,it=(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,ct=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)}}},Re="!",dt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],m=0,g=0,w;for(let b=0;b<a.length;b++){let x=a[b];if(m===0){if(x===s&&(n||a.slice(b,b+o)===t)){c.push(a.slice(g,b)),g=b+o;continue}if(x==="/"){w=b;continue}}x==="["?m++:x==="]"&&m--}let h=c.length===0?a:a.substring(g),A=h.startsWith(Re),C=A?h.substring(1):h,f=w&&w>g?w-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:f}};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},ut=e=>({cache:ct(e.cacheSize),parseClassName:dt(e),...nt(e)}),mt=/\s+/,gt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(mt),a="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:g,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:A}=r(m),C=!!A,f=n(C?h.substring(0,A):h);if(!f){if(!C){a=m+(a.length>0?" "+a:a);continue}if(f=n(h),!f){a=m+(a.length>0?" "+a:a);continue}C=!1}let b=pt(g).join(":"),x=w?b+Re:b,k=x+f;if(o.includes(k))continue;o.push(k);let I=s(f,C);for(let z=0;z<I.length;++z){let V=I[z];o.push(x+V)}a=m+(a.length>0?" "+a:a)}return a};function ft(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ne(t))&&(n&&(n+=" "),n+=r);return n}var Ne=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ne(e[n]))&&(r&&(r+=" "),r+=t);return r};function bt(e,...t){let r,n,s,o=l;function l(c){let m=t.reduce((g,w)=>w(g),e());return r=ut(m),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let m=n(c);if(m)return m;let g=gt(c,r);return s(c,g),g}return function(){return o(ft.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Pe=/^\[(?:([a-z-]+):)?(.+)\]$/i,yt=/^\K+\/\K+$/,ht=new Set(["px","full","screen"]),xt=/^(\K+(\.\K+)?)?(xs|sm|md|lg|xl)$/,wt=/\K+(%|px|r?em|[sdl]?K([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$/,vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,kt=/^(inset_)?-?((\K+)?\.?(\K+)[a-z]+|0)_-?((\K+)?\.?(\K+)[a-z]+|0)/,At=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>F(e)||ht.has(e)||yt.test(e),B=e=>G(e,"length",Mt),F=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>G(e,"number",F),U=e=>!!e&&Number.isInteger(Number(e)),Ct=e=>e.endsWith("%")&&F(e.slice(0,-1)),i=e=>Pe.test(e),S=e=>xt.test(e),Rt=new Set(["length","size","percentage"]),Nt=e=>G(e,Rt,Te),Pt=e=>G(e,"position",Te),Tt=new Set(["image","url"]),Bt=e=>G(e,Tt,zt),St=e=>G(e,"",It),D=()=>!0,G=(e,t,r)=>{let n=Pe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Mt=e=>wt.test(e)&&!vt.test(e),Te=()=>!1,It=e=>kt.test(e),zt=e=>At.test(e);var Et=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),n=p("brightness"),s=p("borderColor"),o=p("borderRadius"),l=p("borderSpacing"),a=p("borderWidth"),c=p("contrast"),m=p("grayscale"),g=p("hueRotate"),w=p("invert"),h=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),f=p("inset"),b=p("margin"),x=p("opacity"),k=p("padding"),I=p("saturate"),z=p("scale"),V=p("sepia"),ge=p("skew"),fe=p("space"),be=p("translate"),re=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",i,t],u=()=>[i,t],ye=()=>["",P,B],Q=()=>["auto",F,i],he=()=>["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"],se=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],we=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[F,i];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[P,B],blur:["none","",S,i],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:u(),borderWidth:ye(),contrast:N(),grayscale:L(),hueRotate:N(),invert:L(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Ct,B],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",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":we()}],"break-before":[{"break-before":we()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...he(),i]}],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:[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",U,i]}],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",i]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",U,i]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",U,i]},i]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[U,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:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"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"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],K:[{K:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],K:[{K:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[fe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[fe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ae]}],"font-family":[{font:[D]}],"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",F,ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,B]}],"underline-offset":[{"underline-offset":["auto",P,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:u()}],"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:[...he(),Pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Bt]}],"bg-color":[{bg:[e]}],"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:[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":[x]}],"border-style":[{border:[...j(),"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":[x]}],"divide-style":[{divide:j()}],"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:["",...j()]}],"outline-offset":[{"outline-offset":[P,i]}],"outline-w":[{outline:[P,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,St]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[x]}],"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:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[w]}],saturate:[{saturate:[I]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"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:N()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[U,i]}],"translate-x":[{"translate-x":[be]}],"translate-y":[{"translate-y":[be]}],"skew-x":[{"skew-x":[ge]}],"skew-y":[{"skew-y":[ge]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-K":[{"scroll-K":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-K":[{"scroll-K":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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,B,ae]}],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","K","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","K","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-K","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-K","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 Be=bt(Et);function y(...e){return Be((0,Se.clsx)(e))}var K=require("react/jsx-runtime"),Me=({className:e,content:t,style:r})=>(0,K.jsx)("div",{className:y("mx-auto my-8 w-full",e),children:(0,K.jsx)("div",{className:y("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,K.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Ie=require("@radix-ui/react-slot"),ze=require("class-variance-authority"),Ee=J(require("react")),Ft=(0,ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),H=Ee.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,K.jsx)(e?Ie.Slot:"button",{className:y(Ft({className:t,size:r,variant:n})),ref:o,...s}));H.displayName="Button";var ce=J(require("next/link")),Y=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:m}=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}`:m;if(!g)return null;let w=r==="link"?"clear":c,h=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,K.jsxs)(ce.default,{className:y(s),href:g||m||"",...h,children:[o&&o,n&&n]}):(0,K.jsx)(H,{asChild:!0,className:s,size:w,variant:r,children:(0,K.jsxs)(ce.default,{className:y(s),href:g||m||"",...h,children:[o&&o,n&&n]})})};var Ge=({links:e,richText:t})=>(0,K.jsx)("div",{className:"container",children:(0,K.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,K.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,K.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,K.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,K.jsx)(Y,{size:"lg",...r},n))})]})});var X=require("prism-react-renderer");var Le=require("lucide-react"),Ue=require("react");function De({code:e}){let[t,r]=(0,Ue.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,K.jsx)("div",{className:"flex justify-end align-middle",children:(0,K.jsxs)(H,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,K.jsx)("p",{children:t}),(0,K.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,K.jsx)(Le.ClipboardCopy,{})})]})})}var He=({code:e,language:t=""})=>e?(0,K.jsx)(X.Highlight,{code:e,language:t,theme:X.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,K.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,K.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,K.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,K.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,K.jsx)("span",{...n({token:a})},c))})]},l)),(0,K.jsx)(De,{code:e})]})}):null;var Oe=({className:e,code:t,language:r})=>(0,K.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,K.jsx)(He,{code:t,language:r})});var Qe=J(require("next/image"));var Ve=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var q=()=>{if(Ve){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 Gt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Lt="data:image/png;base64,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",je=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,m,g,w=t,h=a||"";if(!h&&o&&typeof o=="object"){let{alt:f,filename:b,height:x,url:k,width:I}=o;m=I,g=x,w=f||"",h=`${q()}${k}`}let A=c||"lazy",C=l||Object.entries(Gt).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,K.jsx)("picture",{children:(0,K.jsx)(Qe.default,{alt:w||"",className:y(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Lt,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:C,src:h,width:r?void 0:m})})};var _e=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,Ue.useRef)(null);if((0,Ue.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,K.jsx)("video",{autoPlay:!0,className:y(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,K.jsx)("source",{src:`${q()}/media/${o}`})})}return null};var Ke=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,K.jsx)(r||Ue.Fragment,{...r!==null?{className:t}:{},children:s?(0,K.jsx)(_e,{...e}):(0,K.jsx)(je,{...e})})};var Ye=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,K.jsx)("div",{className:y("",{container:r},t),children:(0,K.jsx)(Ke,{imgClassName:y("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var Xe=({title:e,description:t,features:r,id:n})=>(0,K.jsxs)("section",{className:y("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,K.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,K.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,K.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,K.jsx)(R,{content:t,enableGutter:!1})}),(0,K.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let l=(0,K.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,K.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,K.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,K.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,K.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,K.jsx)("div",{className:"text-lg opacity-80",children:(0,K.jsx)(R,{content:s.content,enableGutter:!1})})]},o);return console.log("link",s.link),s.link?(0,K.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:l},o):l})})]});var ee=J(require("react"));function $({nodes:e}){return(0,K.jsx)(ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,K.jsx)(ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,K.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,K.jsx)("em",{children:o},r)),t.format&4&&(o=(0,K.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,K.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,K.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,K.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,K.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,K.jsx)("table",{children:(0,K.jsx)("tbody",{children:t.children.map((o,l)=>(0,K.jsx)("tr",{children:o.children.map((a,c)=>(0,K.jsx)("td",{children:$({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 $({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,K.jsx)(Ge,{...o},r);case"mediaBlock":return(0,K.jsx)(Ye,{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,K.jsx)(Me,{className:"col-start-2 mb-4",...o},r);case"code":return(0,K.jsx)(Oe,{className:"col-start-2",...o},r);case"features":return(0,K.jsx)(Xe,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,K.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,K.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,K.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,K.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,K.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,K.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,K.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,K.jsx)(Y,{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,K.jsx)("div",{className:y({"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&&$({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Ut={title:"Blocks/RichText",component:R,tags:["autodocs"],decorators:[e=>(0,K.jsx)("div",{className:"bg-white dark:bg-gray-900 p-4",children:(0,K.jsx)(e,{})})]},Dt=e=>(0,K.jsx)(R,{...e}),Ht={render:Dt,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};0&&(module.exports={Default});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e}from"../../chunk-UWVW5NGP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
|