cortex-react-components 1.31.0 → 1.32.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-ZC2N76FR.mjs → chunk-2DFHHXVF.mjs} +1 -1
- package/dist/{chunk-KAAPUG4M.mjs → chunk-2ZFONB6D.mjs} +1 -1
- package/dist/{chunk-LZWYP4ID.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-XHRPO3DH.mjs → chunk-3ULIS6GM.mjs} +1 -1
- package/dist/{chunk-FLVPDO7B.mjs → chunk-4MNYZ3VG.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-FNCXXX4V.mjs → chunk-66ZAIUUI.mjs} +1 -1
- package/dist/{chunk-LF3DTAUD.mjs → chunk-BG4CGVSG.mjs} +1 -1
- package/dist/{chunk-ZMNLKXWL.mjs → chunk-BQQUZJRS.mjs} +1 -1
- package/dist/{chunk-KUZI6GLM.mjs → chunk-ETU7V76A.mjs} +1 -1
- package/dist/chunk-EVXXDGB5.mjs +1 -0
- package/dist/chunk-FNXBIW3Q.mjs +1 -0
- package/dist/{chunk-UAEO5CJO.mjs → chunk-FV54JBLJ.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-MEFLNKZR.mjs → chunk-HM23H5RT.mjs} +1 -1
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-VYTPNSGC.mjs → chunk-ITU7C5FD.mjs} +1 -1
- package/dist/{chunk-ECEPE5I4.mjs → chunk-J4WWW7JZ.mjs} +1 -1
- package/dist/{chunk-EV5IOYFF.mjs → chunk-K5QOQSAS.mjs} +1 -1
- package/dist/{chunk-QZQRKXUM.mjs → chunk-NGAHEN2R.mjs} +1 -1
- package/dist/{chunk-J2NXPJIK.mjs → chunk-NH74CS36.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-VZKLCHD4.mjs → chunk-OMZBJY76.mjs} +1 -1
- package/dist/{chunk-7TWF6ZKG.mjs → chunk-QN26GI2T.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-4KDRHMVB.mjs → chunk-W4TZ3J2T.mjs} +1 -1
- package/dist/{chunk-U5ACDJAM.mjs → chunk-WKQSTYZP.mjs} +1 -1
- package/dist/{chunk-QQYD2M65.mjs → chunk-WR4OEF6T.mjs} +1 -1
- package/dist/{chunk-334XZACJ.mjs → chunk-WZQ3UMEQ.mjs} +1 -1
- package/dist/chunk-X7TVNR3Q.mjs +1 -0
- package/dist/chunk-XVXQHP54.mjs +4 -0
- package/dist/{chunk-7QL3S5IP.mjs → chunk-YH4LGOVO.mjs} +1 -1
- package/dist/{chunk-BXHRAD43.mjs → chunk-YIBBFV25.mjs} +1 -1
- package/dist/{chunk-HRTZFCXL.mjs → chunk-Z3ACMQN7.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/PricingCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +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.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- 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/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- 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 +4 -0
- package/dist/pages/Blog.mjs +1 -0
- package/dist/pages/Blog.stories.js +4 -0
- package/dist/pages/Blog.stories.mjs +1 -0
- package/dist/pages/Documentation.mjs +2 -0
- package/dist/pages/Documentation.stories.mjs +1 -0
- package/dist/pages/IndexPage.mjs +2 -0
- package/dist/pages/IndexPage.stories.mjs +1 -0
- package/dist/pages/Intranet.mjs +1 -0
- package/dist/pages/Intranet.stories.mjs +4 -0
- package/dist/{components/Pages → pages}/LandingPage.js +1 -1
- package/dist/pages/LandingPage.mjs +2 -0
- package/dist/{components/Pages → pages}/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -0
- package/dist/{components/Pages → pages}/Page.js +1 -1
- package/dist/pages/Page.mjs +2 -0
- package/dist/{components/Pages → pages}/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -0
- package/dist/pages/Website.d.ts +3 -0
- package/dist/{components/Pages → pages}/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -0
- package/dist/{components/Pages → pages}/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -0
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.d.ts +3 -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.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-7REKDTES.mjs +0 -4
- package/dist/chunk-JATDK6JF.mjs +0 -1
- package/dist/chunk-NH22HFO3.mjs +0 -1
- package/dist/components/Pages/Documentation.mjs +0 -2
- package/dist/components/Pages/Documentation.stories.mjs +0 -1
- package/dist/components/Pages/IndexPage.mjs +0 -2
- package/dist/components/Pages/IndexPage.stories.mjs +0 -1
- package/dist/components/Pages/Intranet.mjs +0 -1
- package/dist/components/Pages/Intranet.stories.mjs +0 -4
- package/dist/components/Pages/LandingPage.mjs +0 -2
- package/dist/components/Pages/LandingPage.stories.mjs +0 -1
- package/dist/components/Pages/Page.mjs +0 -2
- package/dist/components/Pages/Page.stories.mjs +0 -1
- package/dist/components/Pages/Website.mjs +0 -1
- package/dist/components/Pages/Website.stories.mjs +0 -1
- /package/dist/{components/Pages/Website.d.ts → pages/Blog.d.ts} +0 -0
- /package/dist/{components/Pages → pages}/Documentation.d.ts +0 -0
- /package/dist/{components/Pages → pages}/Documentation.js +0 -0
- /package/dist/{components/Pages → pages}/Documentation.stories.js +0 -0
- /package/dist/{components/Pages → pages}/IndexPage.d.ts +0 -0
- /package/dist/{components/Pages → pages}/IndexPage.js +0 -0
- /package/dist/{components/Pages → pages}/IndexPage.stories.js +0 -0
- /package/dist/{components/Pages → pages}/Intranet.d.ts +0 -0
- /package/dist/{components/Pages → pages}/Intranet.js +0 -0
- /package/dist/{components/Pages → pages}/Intranet.stories.js +0 -0
- /package/dist/{components/Pages → pages}/LandingPage.d.ts +0 -0
- /package/dist/{components/Pages → pages}/Page.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var gt=Object.create;var q=Object.defineProperty;var ft=Object.getOwnPropertyDescriptor;var bt=Object.getOwnPropertyNames;var ht=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)q(e,r,{get:t[r],enumerable:!0})},Ie=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of bt(t))!yt.call(e,a)&&a!==r&&q(e,a,{get:()=>t[a],enumerable:!(s=ft(t,a))||s.enumerable});return e};var L=(e,t,r)=>(r=e!=null?gt(ht(e)):{},Ie(t||!e||!e.__esModule?q(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>Ie(q({},"__esModule",{value:!0}),e);var nr={};At(nr,{BlogDetail:()=>ar});module.exports=xt(nr);var pe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Oe";var Ke=require("clsx");var ge="-",wt=e=>{let t=Ct(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let n=i.split(ge);return n[0]===""&&n.length!==1&&n.shift(),ze(n,t)||vt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&s[i]?[...c,...s[i]]:c}}},ze=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),a=s?ze(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(ge);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Ee=/^\[(.+)\]$/,vt=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ct=e=>{let{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return Nt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ue(i,s,o,t)}),s},ue=(e,t,r,s)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Le(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(kt(a)){ue(a(s),t,r,s);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{ue(i,Le(t,o),r,s)})})},Le=(e,t)=>{let r=e;return t.split(ge).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},kt=e=>e.isThemeGetter,Nt=(e,t)=>t?e.map(([r,s])=>{let a=s.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,a]}):e,Pt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=s.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Fe="!",Rt=e=>{let{separator:t,experimentalParseClassName:r}=e,s=t.length===1,a=t[0],o=t.length,i=n=>{let c=[],m=0,g=0,f;for(let x=0;x<n.length;x++){let w=n[x];if(m===0){if(w===a&&(s||n.slice(x,x+o)===t)){c.push(n.slice(g,x)),g=x+o;continue}if(w==="/"){f=x;continue}}w==="["?m++:w==="]"&&m--}let b=c.length===0?n:n.substring(g),v=b.startsWith(Fe),N=v?b.substring(1):b,A=f&&f>g?f-g:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:N,maybePostfixModifierPosition:A}};return r?n=>r({className:n,parseClassName:i}):i},Bt=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},Tt=e=>({cache:Pt(e.cacheSize),parseClassName:Rt(e),...wt(e)}),Mt=/\s+/,St=(e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Mt),n="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:g,hasImportantModifier:f,baseClassName:b,maybePostfixModifierPosition:v}=r(m),N=!!v,A=s(N?b.substring(0,v):b);if(!A){if(!N){n=m+(n.length>0?" "+n:n);continue}if(A=s(b),!A){n=m+(n.length>0?" "+n:n);continue}N=!1}let x=Bt(g).join(":"),w=f?x+Fe:x,C=w+A;if(o.includes(C))continue;o.push(C);let I=a(A,N);for(let E=0;E<I.length;++E){let _=I[E];o.push(w+_)}n=m+(n.length>0?" "+n:n)}return n};function It(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=De(t))&&(s&&(s+=" "),s+=r);return s}var De=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=De(e[s]))&&(r&&(r+=" "),r+=t);return r};function Et(e,...t){let r,s,a,o=i;function i(c){let m=t.reduce((g,f)=>f(g),e());return r=Tt(m),s=r.cache.get,a=r.cache.set,o=n,n(c)}function n(c){let m=s(c);if(m)return m;let g=St(c,r);return a(c,g),g}return function(){return o(It.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-Oe-]+):)?(.+)\]$/i,Lt=/^\Oe+\/\Oe+$/,zt=new Set(["px","full","screen"]),Ft=/^(\Oe+(\.\Oe+)?)?(xs|sm|md|lg|xl)$/,Dt=/\Oe+(%|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$/,Ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gt=/^(inset_)?-?((\Oe+)?\.?(\Oe+)[a-Oe]+|0)_-?((\Oe+)?\.?(\Oe+)[a-Oe]+|0)/,Ht=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>U(e)||zt.has(e)||Lt.test(e),T=e=>G(e,"length",jt),U=e=>!!e&&!Number.isNaN(Number(e)),me=e=>G(e,"number",U),O=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>Ue.test(e),M=e=>Ft.test(e),Qt=new Set(["length","size","percentage"]),Ot=e=>G(e,Qt,Ge),Vt=e=>G(e,"position",Ge),Yt=new Set(["image","url"]),Jt=e=>G(e,Yt,qt),_t=e=>G(e,"",Xt),V=()=>!0,G=(e,t,r)=>{let s=Ue.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},jt=e=>Dt.test(e)&&!Ut.test(e),Ge=()=>!1,Xt=e=>Gt.test(e),qt=e=>Ht.test(e);var Wt=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),s=h("brightness"),a=h("borderColor"),o=h("borderRadius"),i=h("borderSpacing"),n=h("borderWidth"),c=h("contrast"),m=h("grayscale"),g=h("hueRotate"),f=h("invert"),b=h("gap"),v=h("gradientColorStops"),N=h("gradientColorStopPositions"),A=h("inset"),x=h("margin"),w=h("opacity"),C=h("padding"),I=h("saturate"),E=h("scale"),_=h("sepia"),Ne=h("skew"),Pe=h("space"),Re=h("translate"),ie=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",l,t],y=()=>[l,t],Be=()=>["",R,T],j=()=>["auto",U,l],Te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",l],Se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[U,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[R,T],blur:["none","",M,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:y(),borderWidth:Be(),contrast:P(),grayscale:Q(),hueRotate:P(),invert:Q(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[Kt,T],inset:ce(),margin:ce(),opacity:P(),padding:y(),saturate:P(),scale:P(),sepia:Q(),skew:P(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Se()}],"break-before":[{"break-before":Se()}],"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:[...Te(),l]}],overflow:[{overflow:le()}],"overflow-x":[{"overflow-x":le()}],"overflow-y":[{"overflow-y":le()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[A]}],"inset-x":[{"inset-x":[A]}],"inset-y":[{"inset-y":[A]}],start:[{start:[A]}],end:[{end:[A]}],top:[{top:[A]}],right:[{right:[A]}],bottom:[{bottom:[A]}],left:[{left:[A]}],visibility:["visible","invisible","collapse"],Oe:[{Oe:["auto",O,l]}],basis:[{basis:ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",O,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",O,l]},l]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[O,l]},l]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...de()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...de(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...de(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Pe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",U,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Te(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ot]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:X()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,_t]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[f]}],saturate:[{saturate:[I]}],sepia:[{sepia:[_]}],"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":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[O,l]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Ne]}],"skew-y":[{"skew-y":[Ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var He=Et(Wt);function p(...e){return He((0,Ke.clsx)(e))}var Oe=require("react/jsx-runtime");function Qe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:s=""}){let a=p("container",t&&"full-width",r&&"no-padding",s);return(0,Oe.jsx)("div",{className:a,children:e})}var Ve=L(require("next/link"));function W({children:e,href:t,openNewTab:r,...s}){return(0,Oe.jsx)(Ve.default,{href:t,target:r?"_blank":"_self",...s,children:e})}var ke=L(require("next/image")),ne=require("react-icons/fa6");var Je=({className:e,content:t,style:r})=>(0,Oe.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Oe.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Oe.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Xe=L(require("react")),Zt=(0,je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Y=Xe.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...a},o)=>(0,Oe.jsx)(e?_e.Slot:"button",{className:p(Zt({className:t,size:r,variant:s})),ref:o,...a}));Y.displayName="Button";var fe=L(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:s,className:a,label:o,newTab:i,reference:n,size:c,url:m}=e,g=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:m;if(!g)return null;let f=r==="link"?"clear":c,b=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Oe.jsxs)(fe.default,{className:p(a),href:g||m||"",...b,children:[o&&o,s&&s]}):(0,Oe.jsx)(Y,{asChild:!0,className:a,size:f,variant:r,children:(0,Oe.jsxs)(fe.default,{className:p(a),href:g||m||"",...b,children:[o&&o,s&&s]})})};var We=({links:e,richText:t})=>(0,Oe.jsx)("div",{className:"container",children:(0,Oe.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,Oe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Oe.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,Oe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},s)=>(0,Oe.jsx)($,{size:"lg",...r},s))})]})});var ee=require("prism-react-renderer");var Ze=require("lucide-react"),$e=require("react");function et({code:e}){let[t,r]=(0,$e.useState)("Copy");function s(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Oe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Oe.jsxs)(Y,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Oe.jsx)("p",{children:t}),(0,Oe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Oe.jsx)(Ze.ClipboardCopy,{})})]})})}var tt=({code:e,language:t=""})=>e?(0,Oe.jsx)(ee.Highlight,{code:e,language:t,theme:ee.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:a})=>(0,Oe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,Oe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Oe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Oe.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,Oe.jsx)("span",{...s({token:n})},c))})]},i)),(0,Oe.jsx)(et,{code:e})]})}):null;var rt=({className:e,code:t,language:r})=>(0,Oe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Oe.jsx)(tt,{code:t,language:r})});var st=L(require("next/image"));var ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var te=()=>{if(ot){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 $t={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},er="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",at=e=>{let{alt:t,fill:r,imgClassName:s,priority:a,resource:o,size:i,src:n,loading:c}=e,m,g,f=t,b=n||"";if(!b&&o&&typeof o=="object"){let{alt:A,filename:x,height:w,url:C,width:I}=o;m=I,g=w,f=A||"",b=`${te()}${C}`}let v=c||"lazy",N=i||Object.entries($t).map(([,A])=>`(max-width: ${A}px) ${A*2}w`).join(", ");return(0,Oe.jsx)("picture",{children:(0,Oe.jsx)(st.default,{alt:f||"",className:p(s),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:er,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:N,src:b,width:r?void 0:m})})};var nt=e=>{let{onClick:t,resource:r,videoClassName:s}=e,a=(0,$e.useRef)(null);if((0,$e.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Oe.jsx)("video",{autoPlay:!0,className:p(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Oe.jsx)("source",{src:`${te()}/media/${o}`})})}return null};var lt=e=>{var i;let{className:t,htmlElement:r="div",resource:s}=e,a=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Oe.jsx)(r||$e.Fragment,{...r!==null?{className:t}:{},children:a?(0,Oe.jsx)(nt,{...e}):(0,Oe.jsx)(at,{...e})})};var ct=e=>{let{className:t,enableGutter:r=!0,imgClassName:s,media:a,staticImage:o}=e;return(0,Oe.jsx)("div",{className:p("",{container:r},t),children:(0,Oe.jsx)(lt,{imgClassName:p("border border-border rounded-[0.8rem]",s),resource:a,src:o})})};var ae=L(require("react"));function se({nodes:e}){return(0,Oe.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Oe.jsx)(ae.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Oe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Oe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Oe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Oe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Oe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Oe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Oe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Oe.jsx)("table",{children:(0,Oe.jsx)("tbody",{children:t.children.map((o,i)=>(0,Oe.jsx)("tr",{children:o.children.map((n,c)=>(0,Oe.jsx)("td",{children:se({nodes:n.children})},c))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return se({nodes:o.children})},a="children"in t?s(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Oe.jsx)(We,{...o},r);case"mediaBlock":return(0,Oe.jsx)(ct,{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,Oe.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Oe.jsx)(rt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Oe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Oe.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Oe.jsx)(o,{className:"col-start-2",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Oe.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Oe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,Oe.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,Oe.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,Oe.jsx)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var H=({className:e,content:t,enableGutter:r=!0,enableProse:s=!0})=>{var a;return t?(0,Oe.jsx)("div",{className:p({"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&&se({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var ut=require("next/navigation");var F=L(require("react"));var xe=F.forwardRef(({className:e,...t},r)=>(0,Oe.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));xe.displayName="Card";var we=F.forwardRef(({className:e,...t},r)=>(0,Oe.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));we.displayName="CardHeader";var ve=F.forwardRef(({className:e,...t},r)=>(0,Oe.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));ve.displayName="CardTitle";var tr=F.forwardRef(({className:e,...t},r)=>(0,Oe.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));tr.displayName="CardDescription";var Ce=F.forwardRef(({className:e,...t},r)=>(0,Oe.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));Ce.displayName="CardContent";var rr=F.forwardRef(({className:e,...t},r)=>(0,Oe.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));rr.displayName="CardFooter";var or=p("transition-colors duration-400 hover:text-primary ease-in-out");function pt({title:e,links:t}){let r=(0,ut.useSearchParams)(),s=(0,ut.usePathname)(),{replace:a}=(0,ut.useRouter)();function o(i){console.log(i);let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),a(`${s}?${n.toString()}`)}return(0,Oe.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,Oe.jsxs)(xe,{children:[(0,Oe.jsx)(we,{children:(0,Oe.jsx)(ve,{children:e&&e})}),(0,Oe.jsx)(Ce,{children:t&&t.length>0&&(0,Oe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Oe.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Oe.jsxs)("li",{className:"flex items-center gap-2.5 pt-2.5 first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[(0,Oe.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Oe.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Oe.jsx)("a",{className:or,children:i.label})]},n))})})})]})})}function sr({image:e,name:t,about:r,socialLinks:s}){return(0,Oe.jsxs)("div",{className:"space-y-5 rounded-5 bg-accent-100 p-8 text-center dark:bg-accent-700 lg:p-10",children:[e&&e.src&&(0,Oe.jsx)(ke.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:pe,className:"mx-auto rounded-full object-cover"}),(0,Oe.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Oe.jsx)("p",{children:r}),s&&s.length>0&&(0,Oe.jsx)("nav",{"aria-label":"social links",children:(0,Oe.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:s.map((a,o)=>(0,Oe.jsx)("li",{children:(0,Oe.jsx)(W,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Oe.jsx)("span",{children:a.icon})})},o))})})]})}var mt=p("transition-colors duration-400 hover:text-primary ease-in-out inline");function ar({page:e,categoryList:t}){var g;if(!e)return(0,ut.notFound)();let{meta:r,populatedAuthors:s,authors:a,categories:o,content:i,title:n}=e,c={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:o,commentCount:0,title:n,description:(r==null?void 0:r.description)||""},m=a==null?void 0:a.map(f=>{var b,v;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((v=(b=f.profilePicture.sizes)==null?void 0:b.small)==null?void 0:v.url)||"/assets/images/blog/author-1.png",alt:f.name||"blog author"},socialLinks:[]}});return(0,Oe.jsx)("section",{className:"section-padding-primary",children:(0,Oe.jsx)(Qe,{children:(0,Oe.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Oe.jsx)("div",{children:(0,Oe.jsxs)("div",{className:"[&_p+P]:mt-4",children:[c.image&&c.image.src&&(0,Oe.jsx)(ke.default,{src:c.image.src,alt:c.image.alt||n,width:850,height:538,placeholder:"blur",blurDataURL:pe,sizes:"100vw"}),(0,Oe.jsxs)("ul",{"aria-label":"blog meta list",className:"mb-4 mt-6 flex flex-wrap items-center gap-x-[1.125rem] gap-y-2 lg:mb-5 lg:mt-30px",children:[(0,Oe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Oe.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,Oe.jsx)(ne.FaRegUser,{})}),(0,Oe.jsx)("span",{children:(0,Oe.jsx)(W,{href:"#",className:mt,children:c.authorName})})]}),(0,Oe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Oe.jsx)("span",{className:"flex-none text-sm text-accent",children:c.category&&c.category.length>0&&(0,Oe.jsx)(ne.FaRegFolderOpen,{})}),c.category&&c.category.map((f,b)=>(0,Oe.jsx)(W,{href:"#",className:mt,children:f.title},b))]})]}),(0,Oe.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Oe.jsx)(H,{content:i,enableGutter:!1})]})}),(0,Oe.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&m.map((f,b)=>(0,Oe.jsx)(sr,{...f},b)),t&&t.links&&(0,Oe.jsx)("div",{className:"rounded-5 px-8 pt-0 lg:px-10",children:(0,Oe.jsx)(pt,{links:t.links,title:t.title})})]})]})})})}0&&(module.exports={BlogDetail});
|
|
4
|
+
"use strict";var gt=Object.create;var ee=Object.defineProperty;var ft=Object.getOwnPropertyDescriptor;var bt=Object.getOwnPropertyNames;var ht=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var At=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Be=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of bt(t))!yt.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(n=ft(t,s))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?gt(ht(e)):{},Be(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>Be(ee({},"__esModule",{value:!0}),e);var sr={};At(sr,{BlogDetail:()=>nr});module.exports=xt(sr);var Te="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var He=require("clsx");var fe="-",Ct=e=>{let t=wt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let a=i.split(fe);return a[0]===""&&a.length!==1&&a.shift(),Ie(a,t)||vt(i)},getConflictingClassGroupIds:(i,a)=>{let c=r[i]||[];return a&&n[i]?[...c,...n[i]]:c}}},Ie=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Ie(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(fe);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,vt=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},wt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Pt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ge(i,n,o,t)}),n},ge=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Se(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(kt(s)){ge(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ge(i,Se(t,o),r,n)})})},Se=(e,t)=>{let r=e;return t.split(fe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},kt=e=>e.isThemeGetter,Pt=(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(([i,a])=>[t+i,a])):o);return[r,s]}):e,Rt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},Ee="!",Nt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,i=a=>{let c=[],u=0,h=0,x;for(let y=0;y<a.length;y++){let v=a[y];if(u===0){if(v===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(h,y)),h=y+o;continue}if(v==="/"){x=y;continue}}v==="["?u++:v==="]"&&u--}let A=c.length===0?a:a.substring(h),C=A.startsWith(Ee),w=C?A.substring(1):A,g=x&&x>h?x-h:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:w,maybePostfixModifierPosition:g}};return r?a=>r({className:a,parseClassName:i}):i},Bt=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},Tt=e=>({cache:Rt(e.cacheSize),parseClassName:Nt(e),...Ct(e)}),Mt=/\s+/,St=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(Mt),a="";for(let c=i.length-1;c>=0;c-=1){let u=i[c],{modifiers:h,hasImportantModifier:x,baseClassName:A,maybePostfixModifierPosition:C}=r(u),w=!!C,g=n(w?A.substring(0,C):A);if(!g){if(!w){a=u+(a.length>0?" "+a:a);continue}if(g=n(A),!g){a=u+(a.length>0?" "+a:a);continue}w=!1}let y=Bt(h).join(":"),v=x?y+Ee:y,k=v+g;if(o.includes(k))continue;o.push(k);let E=s(g,w);for(let L=0;L<E.length;++L){let W=E[L];o.push(v+W)}a=u+(a.length>0?" "+a:a)}return a};function It(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Et(e,...t){let r,n,s,o=i;function i(c){let u=t.reduce((h,x)=>x(h),e());return r=Tt(u),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let h=St(c,r);return s(c,h),h}return function(){return o(It.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,Lt=/^\Ge+\/\Ge+$/,zt=new Set(["px","full","screen"]),Ft=/^(\Ge+(\.\Ge+)?)?(xs|sm|md|lg|xl)$/,Dt=/\Ge+(%|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$/,Ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ut=/^(inset_)?-?((\Ge+)?\.?(\Ge+)[a-z]+|0)_-?((\Ge+)?\.?(\Ge+)[a-z]+|0)/,Gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>U(e)||zt.has(e)||Lt.test(e),M=e=>G(e,"length",jt),U=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>G(e,"number",U),J=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>ze.test(e),S=e=>Ft.test(e),Qt=new Set(["length","size","percentage"]),Vt=e=>G(e,Qt,Fe),Ot=e=>G(e,"position",Fe),Yt=new Set(["image","url"]),Jt=e=>G(e,Yt,qt),_t=e=>G(e,"",Xt),_=()=>!0,G=(e,t,r)=>{let n=ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},jt=e=>Dt.test(e)&&!Ht.test(e),Fe=()=>!1,Xt=e=>Ut.test(e),qt=e=>Gt.test(e);var Wt=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),n=f("brightness"),s=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),a=f("borderWidth"),c=f("contrast"),u=f("grayscale"),h=f("hueRotate"),x=f("invert"),A=f("gap"),C=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),y=f("margin"),v=f("opacity"),k=f("padding"),E=f("saturate"),L=f("scale"),W=f("sepia"),Ce=f("skew"),ve=f("space"),we=f("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",l,t],b=()=>[l,t],ke=()=>["",N,M],Z=()=>["auto",U,l],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[U,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[N,M],blur:["none","",S,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:b(),borderWidth:ke(),contrast:R(),grayscale:Y(),hueRotate:R(),invert:Y(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Kt,M],inset:pe(),margin:pe(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:Y(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":Ne()}],"break-before":[{"break-before":Ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Pe(),l]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],Ge:[{Ge:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",U,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,M]}],"underline-offset":[{"underline-offset":["auto",N,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),Ot]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-We":[{"rounded-We":[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":[v]}],"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":[v]}],"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":[N,l]}],"outline-w":[{outline:[N,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[N,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,_t]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[x]}],saturate:[{saturate:[E]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[J,l]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[Ce]}],"skew-y":[{"skew-y":[Ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","We-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ge":[{"scroll-Ge":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,M,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ge:["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-We","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-We","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-Ge":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var De=Et(Wt);function p(...e){return De((0,He.clsx)(e))}var Ge=require("react/jsx-runtime");function Ue({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let s=p("container",t&&"full-width",r&&"no-padding",n);return(0,Ge.jsx)("div",{className:s,children:e})}var Ke=T(require("next/link"));function Qe({children:e,href:t,openNewTab:r,...n}){return(0,Ge.jsx)(Ke.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var pt=T(require("next/image"));var Oe=({className:e,content:t,style:r})=>(0,Ge.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Ge.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ge.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var Ye=require("@radix-ui/react-slot"),Je=require("class-variance-authority"),_e=T(require("react")),Zt=(0,Je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),z=_e.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Ge.jsx)(e?Ye.Slot:"button",{className:p(Zt({className:t,size:r,variant:n})),ref:o,...s}));z.displayName="Button";var be=T(require("next/link")),re=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:i,reference:a,size:c,url:u}=e,h=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:u;if(!h)return null;let x=r==="link"?"clear":c,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ge.jsxs)(be.default,{className:p(s),href:h||u||"",...A,children:[o&&o,n&&n]}):(0,Ge.jsx)(z,{asChild:!0,className:s,size:x,variant:r,children:(0,Ge.jsxs)(be.default,{className:p(s),href:h||u||"",...A,children:[o&&o,n&&n]})})};var Xe=({links:e,richText:t})=>(0,Ge.jsx)("div",{className:"container",children:(0,Ge.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,Ge.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ge.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ge.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Ge.jsx)(re,{size:"lg",...r},n))})]})});var oe=require("prism-react-renderer");var qe=require("lucide-react"),We=require("react");function Ze({code:e}){let[t,r]=(0,We.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ge.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ge.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ge.jsx)("p",{children:t}),(0,Ge.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ge.jsx)(qe.ClipboardCopy,{})})]})})}var $e=({code:e,language:t=""})=>e?(0,Ge.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Ge.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,Ge.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ge.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ge.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Ge.jsx)("span",{...n({token:a})},c))})]},i)),(0,Ge.jsx)(Ze,{code:e})]})}):null;var et=({className:e,code:t,language:r})=>(0,Ge.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ge.jsx)($e,{code:t,language:r})});var rt=T(require("next/image"));var tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ne=()=>{if(tt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var $t={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},er="data:image/png;base64,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",ot=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:i,src:a,loading:c}=e,u,h,x=t,A=a||"";if(!A&&o&&typeof o=="object"){let{alt:g,filename:y,height:v,url:k,width:E}=o;u=E,h=v,x=g||"",A=`${ne()}${k}`}let C=c||"lazy",w=i||Object.entries($t).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ge.jsx)("picture",{children:(0,Ge.jsx)(rt.default,{alt:x||"",className:p(n),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:er,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:w,src:A,width:r?void 0:u})})};var nt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,We.useRef)(null);if((0,We.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ge.jsx)("video",{autoPlay:!0,className:p(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ge.jsx)("source",{src:`${ne()}/media/${o}`})})}return null};var at=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,Ge.jsx)(r||We.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ge.jsx)(nt,{...e}):(0,Ge.jsx)(ot,{...e})})};var it=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ge.jsx)("div",{className:p("",{container:r},t),children:(0,Ge.jsx)(at,{imgClassName:p("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var le=T(require("react"));function ie({nodes:e}){return(0,Ge.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Ge.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ge.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ge.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ge.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ge.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ge.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ge.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ge.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ge.jsx)("table",{children:(0,Ge.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ge.jsx)("tr",{children:o.children.map((a,c)=>(0,Ge.jsx)("td",{children:ie({nodes:a.children})},c))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ie({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ge.jsx)(Xe,{...o},r);case"mediaBlock":return(0,Ge.jsx)(it,{className:"col-start-1 col-span-3",imgClassName:"Ge-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ge.jsx)(Oe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ge.jsx)(et,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Ge.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ge.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ge.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ge.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ge.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,Ge.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ge.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ge.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var K=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Ge.jsx)("div",{className:p({"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&&ie({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var mt=require("next/navigation");var D=T(require("react"));var Q=D.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Q.displayName="Card";var X=D.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));X.displayName="CardHeader";var q=D.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));q.displayName="CardTitle";var tr=D.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));tr.displayName="CardDescription";var V=D.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));V.displayName="CardContent";var rr=D.forwardRef(({className:e,...t},r)=>(0,Ge.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));rr.displayName="CardFooter";var xo=p("transition-colors duration-400 hover:text-primary ease-in-out");function dt({title:e,links:t}){let r=(0,mt.useSearchParams)(),n=(0,mt.usePathname)(),{replace:s}=(0,mt.useRouter)();function o(i){console.log(i);let a=new URLSearchParams(r);i?a.set("category",i):a.delete("category"),s(`${n}?${a.toString()}`)}return(0,Ge.jsxs)(Q,{children:[(0,Ge.jsx)(X,{children:(0,Ge.jsx)(q,{children:e&&e})}),(0,Ge.jsx)(V,{children:t&&t.length>0&&(0,Ge.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ge.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,a)=>(0,Ge.jsxs)("li",{className:"flex items-center text-sm text-accent first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,Ge.jsx)(qe.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})})]})}var ut=T(require("next/link"));function or({image:e,name:t,about:r,socialLinks:n}){return(0,Ge.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,Ge.jsx)(Q,{children:(0,Ge.jsxs)(V,{children:[e&&e.src&&(0,Ge.jsx)(pt.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:Te,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Ge.jsx)("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Ge.jsx)("p",{children:r}),n&&n.length>0&&(0,Ge.jsx)("nav",{"aria-label":"social links",children:(0,Ge.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((s,o)=>(0,Ge.jsx)("li",{children:(0,Ge.jsx)(Qe,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ge.jsx)("span",{children:s.icon})})},o))})})]})})})}function nr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var A;if(!e)return(0,mt.notFound)();let{meta:s,populatedAuthors:o,authors:i,categories:a,content:c,title:u}=e,h={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((A=o==null?void 0:o[0])==null?void 0:A.name)||"",category:a,commentCount:0,title:u,description:(s==null?void 0:s.description)||""},x=i==null?void 0:i.map(C=>{var w,g;return{name:C.name||"",about:"",image:{src:C.profilePicture&&((g=(w=C.profilePicture.sizes)==null?void 0:w.small)==null?void 0:g.url)||"/assets/images/blog/author-1.png",alt:C.name||"blog author"},socialLinks:[]}});return(0,Ge.jsx)(Ue,{children:(0,Ge.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ge.jsx)("div",{children:(0,Ge.jsxs)("div",{className:"[&_p+Ge]:mt-4",children:[(0,Ge.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ge.jsx)(K,{content:c,enableGutter:!1})]})}),(0,Ge.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ge.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,Ge.jsxs)(Q,{children:[(0,Ge.jsx)(X,{children:(0,Ge.jsx)(q,{children:"CMS Actions"})}),(0,Ge.jsxs)(V,{children:[(0,Ge.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ge.jsx)(ut.default,{href:`${n}${e.id}`,children:(0,Ge.jsx)(z,{className:"w-full",children:"Edit"})})]})]})}),x&&x.map((C,w)=>(0,Ge.jsx)(or,{...C},w)),t&&t.links&&(0,Ge.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,Ge.jsx)(dt,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-EVXXDGB5.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-XVXQHP54.mjs";import"../chunk-4MNYZ3VG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as BlogDetail};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var xt=Object.create;var Z=Object.defineProperty;var vt=Object.getOwnPropertyDescriptor;var wt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty;var Pt=(e,t)=>{for(var r in t)Z(e,r,{get:t[r],enumerable:!0})},ze=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of wt(t))!kt.call(e,s)&&s!==r&&Z(e,s,{get:()=>t[s],enumerable:!(a=vt(t,s))||a.enumerable});return e};var L=(e,t,r)=>(r=e!=null?xt(Ct(e)):{},ze(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),Nt=e=>ze(Z({},"__esModule",{value:!0}),e);var mr={};Pt(mr,{Default:()=>ie,LoadsOfBlogs:()=>yt,NoCategories:()=>At,default:()=>pr});module.exports=Nt(mr);var me="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Ye=require("clsx");var fe="-",Rt=e=>{let t=Bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(fe);return n[0]===""&&n.length!==1&&n.shift(),Ge(n,t)||Tt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&a[i]?[...c,...a[i]]:c}}},Ge=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Ge(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(fe);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},De=/^\[(.+)\]$/,Tt=e=>{if(De.test(e)){let t=De.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Bt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Mt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ge(i,a,o,t)}),a},ge=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ue(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(St(s)){ge(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ge(i,Ue(t,o),r,a)})})},Ue=(e,t)=>{let r=e;return t.split(fe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},St=e=>e.isThemeGetter,Mt=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,s]}):e,It=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},He="!",Et=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let c=[],m=0,g=0,f;for(let x=0;x<n.length;x++){let v=n[x];if(m===0){if(v===s&&(a||n.slice(x,x+o)===t)){c.push(n.slice(g,x)),g=x+o;continue}if(v==="/"){f=x;continue}}v==="["?m++:v==="]"&&m--}let b=c.length===0?n:n.substring(g),w=b.startsWith(He),P=w?b.substring(1):b,A=f&&f>g?f-g:void 0;return{modifiers:c,hasImportantModifier:w,baseClassName:P,maybePostfixModifierPosition:A}};return r?n=>r({className:n,parseClassName:i}):i},Lt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ft=e=>({cache:It(e.cacheSize),parseClassName:Et(e),...Rt(e)}),zt=/\s+/,Dt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(zt),n="";for(let c=i.length-1;c>=0;c-=1){let m=i[c],{modifiers:g,hasImportantModifier:f,baseClassName:b,maybePostfixModifierPosition:w}=r(m),P=!!w,A=a(P?b.substring(0,w):b);if(!A){if(!P){n=m+(n.length>0?" "+n:n);continue}if(A=a(b),!A){n=m+(n.length>0?" "+n:n);continue}P=!1}let x=Lt(g).join(":"),v=f?x+He:x,C=v+A;if(o.includes(C))continue;o.push(C);let I=s(A,P);for(let E=0;E<I.length;++E){let _=I[E];o.push(v+_)}n=m+(n.length>0?" "+n:n)}return n};function Ut(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ke(t))&&(a&&(a+=" "),a+=r);return a}var Ke=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ke(e[a]))&&(r&&(r+=" "),r+=t);return r};function Gt(e,...t){let r,a,s,o=i;function i(c){let m=t.reduce((g,f)=>f(g),e());return r=Ft(m),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let m=a(c);if(m)return m;let g=Dt(c,r);return s(c,g),g}return function(){return o(Ut.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Qe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ht=/^\_e+\/\_e+$/,Kt=new Set(["px","full","screen"]),Qt=/^(\_e+(\.\_e+)?)?(xs|sm|md|lg|xl)$/,Ot=/\_e+(%|px|r?em|[sdl]?v([hwib]|min|max)|ot|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))\(.+\)$/,Yt=/^(inset_)?-?((\_e+)?\.?(\_e+)[a-z]+|0)_-?((\_e+)?\.?(\_e+)[a-z]+|0)/,jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>U(e)||Kt.has(e)||Ht.test(e),B=e=>G(e,"length",er),U=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>G(e,"number",U),O=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>Qe.test(e),S=e=>Qt.test(e),Jt=new Set(["length","size","percentage"]),qt=e=>G(e,Jt,Oe),Zt=e=>G(e,"position",Oe),Xt=new Set(["image","url"]),Wt=e=>G(e,Xt,rr),$t=e=>G(e,"",tr),V=()=>!0,G=(e,t,r)=>{let a=Qe.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},er=e=>Ot.test(e)&&!Vt.test(e),Oe=()=>!1,tr=e=>Yt.test(e),rr=e=>jt.test(e);var or=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),a=h("brightness"),s=h("borderColor"),o=h("borderRadius"),i=h("borderSpacing"),n=h("borderWidth"),c=h("contrast"),m=h("grayscale"),g=h("hueRotate"),f=h("invert"),b=h("gap"),w=h("gradientColorStops"),P=h("gradientColorStopPositions"),A=h("inset"),x=h("margin"),v=h("opacity"),C=h("padding"),I=h("saturate"),E=h("scale"),_=h("sepia"),Be=h("skew"),Se=h("space"),Me=h("translate"),le=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",l,t],y=()=>[l,t],Ie=()=>["",R,B],J=()=>["auto",U,l],Ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[U,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[R,B],blur:["none","",S,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:y(),borderWidth:Ie(),contrast:N(),grayscale:Q(),hueRotate:N(),invert:Q(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[_t,B],inset:de(),margin:de(),opacity:N(),padding:y(),saturate:N(),scale:N(),sepia:Q(),skew:N(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ee(),l]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:le()}],"overscroll-x":[{"overscroll-x":le()}],"overscroll-y":[{"overscroll-y":le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[A]}],"inset-x":[{"inset-x":[A]}],"inset-y":[{"inset-y":[A]}],start:[{start:[A]}],end:[{end:[A]}],top:[{top:[A]}],right:[{right:[A]}],bottom:[{bottom:[A]}],left:[{left:[A]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",O,l]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",O,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",O,l]},l]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[O,l]},l]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],ot:[{ot:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",U,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,B]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ee(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide: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,l]}],"outline-w":[{outline:[R,B]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[R,B]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,$t]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[f]}],saturate:[{saturate:[I]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[O,l]}],"translate-x":[{"translate-x":[Me]}],"translate-y":[{"translate-y":[Me]}],"skew-x":[{"skew-x":[Be]}],"skew-y":[{"skew-y":[Be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-ot":[{"scroll-ot":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,B,ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","ot","pr","pb","pl"],px:["pr","pl"],py:["ot","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-ot","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-ot","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Gt(or);function p(...e){return Ve((0,Ye.clsx)(e))}var _e=require("react/jsx-runtime");function je({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=p("container",t&&"full-width",r&&"no-padding",a);return(0,_e.jsx)("div",{className:s,children:e})}var Je=L(require("next/link"));function X({children:e,href:t,openNewTab:r,...a}){return(0,_e.jsx)(Je.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Pe=L(require("next/image")),ne=require("react-icons/fa6");var Ze=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,_e.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,_e.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var Xe=require("@radix-ui/react-slot"),We=require("class-variance-authority"),$e=L(require("react")),ar=(0,We.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"}}}),Y=$e.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,_e.jsx)(e?Xe.Slot:"button",{className:p(ar({className:t,size:r,variant:a})),ref:o,...s}));Y.displayName="Button";var be=L(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:c,url:m}=e,g=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:m;if(!g)return null;let f=r==="link"?"clear":c,b=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(be.default,{className:p(s),href:g||m||"",...b,children:[o&&o,a&&a]}):(0,_e.jsx)(Y,{asChild:!0,className:s,size:f,variant:r,children:(0,_e.jsxs)(be.default,{className:p(s),href:g||m||"",...b,children:[o&&o,a&&a]})})};var tt=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.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,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,_e.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,_e.jsx)($,{size:"lg",...r},a))})]})});var ee=require("prism-react-renderer");var rt=require("lucide-react"),ot=require("react");function at({code:e}){let[t,r]=(0,ot.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(Y,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,_e.jsx)("p",{children:t}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(rt.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,_e.jsx)(ee.Highlight,{code:e,language:t,theme:ee.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,_e.jsx)("span",{...a({token:n})},c))})]},i)),(0,_e.jsx)(at,{code:e})]})}):null;var nt=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(st,{code:t,language:r})});var lt=L(require("next/image"));var it=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var te=()=>{if(it){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 sr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},nr="data:image/png;base64,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",ct=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:c}=e,m,g,f=t,b=n||"";if(!b&&o&&typeof o=="object"){let{alt:A,filename:x,height:v,url:C,width:I}=o;m=I,g=v,f=A||"",b=`${te()}${C}`}let w=c||"lazy",P=i||Object.entries(sr).map(([,A])=>`(max-width: ${A}px) ${A*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(lt.default,{alt:f||"",className:p(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:nr,priority:w!=="lazy"&&s,quality:100,loading:w,sizes:P,src:b,width:r?void 0:m})})};var dt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,ot.useRef)(null);if((0,ot.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:p(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,_e.jsx)("source",{src:`${te()}/media/${o}`})})}return null};var mt=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,_e.jsx)(r||ot.Fragment,{...r!==null?{className:t}:{},children:s?(0,_e.jsx)(dt,{...e}):(0,_e.jsx)(ct,{...e})})};var ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:p("",{container:r},t),children:(0,_e.jsx)(mt,{imgClassName:p("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var se=L(require("react"));function ae({nodes:e}){return(0,_e.jsx)(se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,_e.jsx)(se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:t.children.map((o,i)=>(0,_e.jsx)("tr",{children:o.children.map((n,c)=>(0,_e.jsx)("td",{children:ae({nodes:n.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ae({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_e.jsx)(tt,{...o},r);case"mediaBlock":return(0,_e.jsx)(ut,{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,_e.jsx)(Ze,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)(nt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.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,_e.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,_e.jsx)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var H=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,_e.jsx)("div",{className:p({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ae({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var ht=require("next/navigation");var z=L(require("react"));var ve=z.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ve.displayName="Card";var we=z.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));we.displayName="CardHeader";var Ce=z.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));Ce.displayName="CardTitle";var ir=z.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));ir.displayName="CardDescription";var ke=z.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:p("p-6 ot-0",e),...t}));ke.displayName="CardContent";var lr=z.forwardRef(({className:e,...t},r)=>(0,_e.jsx)("div",{ref:r,className:p("flex items-center p-6 ot-0",e),...t}));lr.displayName="CardFooter";var cr=p("transition-colors duration-400 hover:text-primary ease-in-out");function ft({title:e,links:t}){let r=(0,ht.useSearchParams)(),a=(0,ht.usePathname)(),{replace:s}=(0,ht.useRouter)();function o(i){console.log(i);let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),s(`${a}?${n.toString()}`)}return(0,_e.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,_e.jsxs)(ve,{children:[(0,_e.jsx)(we,{children:(0,_e.jsx)(Ce,{children:e&&e})}),(0,_e.jsx)(ke,{children:t&&t.length>0&&(0,_e.jsx)("nav",{"aria-label":"footer links navigation",children:(0,_e.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,_e.jsxs)("li",{className:"flex items-center gap-2.5 ot-2.5 first:ot-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[(0,_e.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,_e.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,_e.jsx)("a",{className:cr,children:i.label})]},n))})})})]})})}function dr({image:e,name:t,about:r,socialLinks:a}){return(0,_e.jsxs)("div",{className:"space-y-5 rounded-5 bg-accent-100 p-8 text-center dark:bg-accent-700 lg:p-10",children:[e&&e.src&&(0,_e.jsx)(Pe.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:me,className:"mx-auto rounded-full object-cover"}),(0,_e.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,_e.jsx)("p",{children:r}),a&&a.length>0&&(0,_e.jsx)("nav",{"aria-label":"social links",children:(0,_e.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,_e.jsx)("li",{children:(0,_e.jsx)(X,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,_e.jsx)("span",{children:s.icon})})},o))})})]})}var bt=p("transition-colors duration-400 hover:text-primary ease-in-out inline");function Ne({page:e,categoryList:t}){var g;if(!e)return(0,ht.notFound)();let{meta:r,populatedAuthors:a,authors:s,categories:o,content:i,title:n}=e,c={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:((g=a==null?void 0:a[0])==null?void 0:g.name)||"",category:o,commentCount:0,title:n,description:(r==null?void 0:r.description)||""},m=s==null?void 0:s.map(f=>{var b,w;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((w=(b=f.profilePicture.sizes)==null?void 0:b.small)==null?void 0:w.url)||"/assets/images/blog/author-1.png",alt:f.name||"blog author"},socialLinks:[]}});return(0,_e.jsx)("section",{className:"section-padding-primary",children:(0,_e.jsx)(je,{children:(0,_e.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,_e.jsx)("div",{children:(0,_e.jsxs)("div",{className:"[&_p+P]:mt-4",children:[c.image&&c.image.src&&(0,_e.jsx)(Pe.default,{src:c.image.src,alt:c.image.alt||n,width:850,height:538,placeholder:"blur",blurDataURL:me,sizes:"100vw"}),(0,_e.jsxs)("ul",{"aria-label":"blog meta list",className:"mb-4 mt-6 flex flex-wrap items-center gap-x-[1.125rem] gap-y-2 lg:mb-5 lg:mt-30px",children:[(0,_e.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,_e.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,_e.jsx)(ne.FaRegUser,{})}),(0,_e.jsx)("span",{children:(0,_e.jsx)(X,{href:"#",className:bt,children:c.authorName})})]}),(0,_e.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,_e.jsx)("span",{className:"flex-none text-sm text-accent",children:c.category&&c.category.length>0&&(0,_e.jsx)(ne.FaRegFolderOpen,{})}),c.category&&c.category.map((f,b)=>(0,_e.jsx)(X,{href:"#",className:bt,children:f.title},b))]})]}),(0,_e.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,_e.jsx)(H,{content:i,enableGutter:!1})]})}),(0,_e.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&m.map((f,b)=>(0,_e.jsx)(dr,{...f},b)),t&&t.links&&(0,_e.jsx)("div",{className:"rounded-5 px-8 ot-0 lg:px-10",children:(0,_e.jsx)(ft,{links:t.links,title:t.title})})]})]})})})}var pr={title:"Sections/BlogDetail",component:Ne,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,_e.jsx)(e,{})]},Re=e=>(0,_e.jsx)(Ne,{...e}),ie=Re.bind({});ie.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus _e netus _e malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem _e elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, _e consequat libero magna sit amet risus. Maecenas tincidunt erat _e felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var yt=Re.bind({});yt.args={...ie.args,pages:{totalPages:40,page:20}};var At=Re.bind({});At.args={...ie.args,categories:{title:"Categories"}};0&&(module.exports={Default,LoadsOfBlogs,NoCategories});
|
|
4
|
+
"use strict";var xt=Object.create;var ee=Object.defineProperty;var vt=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var wt=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty;var Pt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Ie=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ct(t))!kt.call(e,s)&&s!==r&&ee(e,s,{get:()=>t[s],enumerable:!(a=vt(t,s))||a.enumerable});return e};var B=(e,t,r)=>(r=e!=null?xt(wt(e)):{},Ie(t||!e||!e.__esModule?ee(r,"default",{value:e,enumerable:!0}):r,e)),Rt=e=>Ie(ee({},"__esModule",{value:!0}),e);var pr={};Pt(pr,{Default:()=>ce,LoadsOfBlogs:()=>yt,NoCategories:()=>At,default:()=>dr});module.exports=Rt(pr);var Ee="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Qe=require("clsx");var be="-",Nt=e=>{let t=Bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(be);return n[0]===""&&n.length!==1&&n.shift(),ze(n,t)||Tt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&a[i]?[...c,...a[i]]:c}}},ze=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?ze(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(be);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Le=/^\[(.+)\]$/,Tt=e=>{if(Le.test(e)){let t=Le.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Bt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Mt(Object.entries(e.classGroups),r).forEach(([o,i])=>{fe(i,a,o,t)}),a},fe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Fe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(St(s)){fe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{fe(i,Fe(t,o),r,a)})})},Fe=(e,t)=>{let r=e;return t.split(be).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},St=e=>e.isThemeGetter,Mt=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,s]}):e,It=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},De="!",Et=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let c=[],u=0,h=0,x;for(let y=0;y<n.length;y++){let C=n[y];if(u===0){if(C===s&&(a||n.slice(y,y+o)===t)){c.push(n.slice(h,y)),h=y+o;continue}if(C==="/"){x=y;continue}}C==="["?u++:C==="]"&&u--}let A=c.length===0?n:n.substring(h),v=A.startsWith(De),w=v?A.substring(1):A,g=x&&x>h?x-h:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:g}};return r?n=>r({className:n,parseClassName:i}):i},Lt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ft=e=>({cache:It(e.cacheSize),parseClassName:Et(e),...Nt(e)}),zt=/\s+/,Dt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(zt),n="";for(let c=i.length-1;c>=0;c-=1){let u=i[c],{modifiers:h,hasImportantModifier:x,baseClassName:A,maybePostfixModifierPosition:v}=r(u),w=!!v,g=a(w?A.substring(0,v):A);if(!g){if(!w){n=u+(n.length>0?" "+n:n);continue}if(g=a(A),!g){n=u+(n.length>0?" "+n:n);continue}w=!1}let y=Lt(h).join(":"),C=x?y+De:y,k=C+g;if(o.includes(k))continue;o.push(k);let E=s(g,w);for(let L=0;L<E.length;++L){let X=E[L];o.push(C+X)}n=u+(n.length>0?" "+n:n)}return n};function Ht(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=He(t))&&(a&&(a+=" "),a+=r);return a}var He=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=He(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ut(e,...t){let r,a,s,o=i;function i(c){let u=t.reduce((h,x)=>x(h),e());return r=Ft(u),a=r.cache.get,s=r.cache.set,o=n,n(c)}function n(c){let u=a(c);if(u)return u;let h=Dt(c,r);return s(c,h),h}return function(){return o(Ht.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-Ve-]+):)?(.+)\]$/i,Gt=/^\Ve+\/\Ve+$/,Kt=new Set(["px","full","screen"]),Qt=/^(\Ve+(\.\Ve+)?)?(xs|sm|md|lg|xl)$/,Ot=/\Ve+(%|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$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Yt=/^(inset_)?-?((\Ve+)?\.?(\Ve+)[a-Ve]+|0)_-?((\Ve+)?\.?(\Ve+)[a-Ve]+|0)/,jt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>U(e)||Kt.has(e)||Gt.test(e),S=e=>G(e,"length",er),U=e=>!!e&&!Number.isNaN(Number(e)),ge=e=>G(e,"number",U),j=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>Ue.test(e),M=e=>Qt.test(e),Jt=new Set(["length","size","percentage"]),qt=e=>G(e,Jt,Ge),Zt=e=>G(e,"position",Ge),Xt=new Set(["image","url"]),Wt=e=>G(e,Xt,rr),$t=e=>G(e,"",tr),_=()=>!0,G=(e,t,r)=>{let a=Ue.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},er=e=>Ot.test(e)&&!Vt.test(e),Ge=()=>!1,tr=e=>Yt.test(e),rr=e=>jt.test(e);var or=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),a=f("brightness"),s=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),n=f("borderWidth"),c=f("contrast"),u=f("grayscale"),h=f("hueRotate"),x=f("invert"),A=f("gap"),v=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),y=f("margin"),C=f("opacity"),k=f("padding"),E=f("saturate"),L=f("scale"),X=f("sepia"),Pe=f("skew"),Re=f("space"),Ne=f("translate"),de=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],me=()=>["auto",l,t],b=()=>[l,t],Te=()=>["",N,S],W=()=>["auto",U,l],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[U,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[N,S],blur:["none","",M,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:b(),borderWidth:Te(),contrast:R(),grayscale:Y(),hueRotate:R(),invert:Y(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[_t,S],inset:me(),margin:me(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:Y(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Me()}],"break-before":[{"break-before":Me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Be(),l]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-y":[{"overflow-y":pe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],Ve:[{Ve:["auto",j,l]}],basis:[{basis:me()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",j,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",j,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[j,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"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]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],Ve:[{Ve:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],Ve:[{Ve:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ge]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",U,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,S]}],"underline-offset":[{"underline-offset":["auto",N,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-tt":[{"rounded-tt":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"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":[N,l]}],"outline-w":[{outline:[N,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[N,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,$t]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[x]}],saturate:[{saturate:[E]}],sepia:[{sepia:[X]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[j,l]}],"translate-x":[{"translate-x":[Ne]}],"translate-y":[{"translate-y":[Ne]}],"skew-x":[{"skew-x":[Pe]}],"skew-y":[{"skew-y":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Ve-resize","nw-resize","tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ve":[{"scroll-Ve":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-Ve":[{"scroll-Ve":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,S,ge]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ve:["mx","my","ms","me","Ve","mr","mb","ml"],mx:["mr","ml"],my:["Ve","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-tt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-tt","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-Ve":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-Ve","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Ve","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ke=Ut(or);function p(...e){return Ke((0,Qe.clsx)(e))}var Ve=require("react/jsx-runtime");function Oe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=p("container",t&&"full-width",r&&"no-padding",a);return(0,Ve.jsx)("div",{className:s,children:e})}var Ye=B(require("next/link"));function je({children:e,href:t,openNewTab:r,...a}){return(0,Ve.jsx)(Ye.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var ft=B(require("next/image"));var Je=({className:e,content:t,style:r})=>(0,Ve.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Ve.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ve.jsx)(K,{content:t,enableGutter:!1,enableProse:!1})})});var qe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),Xe=B(require("react")),ar=(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"}}}),F=Xe.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,Ve.jsx)(e?qe.Slot:"button",{className:p(ar({className:t,size:r,variant:a})),ref:o,...s}));F.displayName="Button";var he=B(require("next/link")),re=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:c,url:u}=e,h=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:u;if(!h)return null;let x=r==="link"?"clear":c,A=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ve.jsxs)(he.default,{className:p(s),href:h||u||"",...A,children:[o&&o,a&&a]}):(0,Ve.jsx)(F,{asChild:!0,className:s,size:x,variant:r,children:(0,Ve.jsxs)(he.default,{className:p(s),href:h||u||"",...A,children:[o&&o,a&&a]})})};var $e=({links:e,richText:t})=>(0,Ve.jsx)("div",{className:"container",children:(0,Ve.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,Ve.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ve.jsx)(K,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ve.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ve.jsx)(re,{size:"lg",...r},a))})]})});var oe=require("prism-react-renderer");var et=require("lucide-react"),tt=require("react");function rt({code:e}){let[t,r]=(0,tt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ve.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ve.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ve.jsx)("p",{children:t}),(0,Ve.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ve.jsx)(et.ClipboardCopy,{})})]})})}var ot=({code:e,language:t=""})=>e?(0,Ve.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,Ve.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,Ve.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ve.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ve.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,Ve.jsx)("span",{...a({token:n})},c))})]},i)),(0,Ve.jsx)(rt,{code:e})]})}):null;var at=({className:e,code:t,language:r})=>(0,Ve.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ve.jsx)(ot,{code:t,language:r})});var nt=B(require("next/image"));var st=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ae=()=>{if(st){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 sr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},nr="data:image/png;base64,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",it=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:c}=e,u,h,x=t,A=n||"";if(!A&&o&&typeof o=="object"){let{alt:g,filename:y,height:C,url:k,width:E}=o;u=E,h=C,x=g||"",A=`${ae()}${k}`}let v=c||"lazy",w=i||Object.entries(sr).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,Ve.jsx)("picture",{children:(0,Ve.jsx)(nt.default,{alt:x||"",className:p(a),fill:r,height:r?void 0:h,placeholder:"blur",blurDataURL:nr,priority:v!=="lazy"&&s,quality:100,loading:v,sizes:w,src:A,width:r?void 0:u})})};var lt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ve.jsx)("video",{autoPlay:!0,className:p(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ve.jsx)("source",{src:`${ae()}/media/${o}`})})}return null};var dt=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Ve.jsx)(r||tt.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ve.jsx)(lt,{...e}):(0,Ve.jsx)(it,{...e})})};var pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,Ve.jsx)("div",{className:p("",{container:r},t),children:(0,Ve.jsx)(dt,{imgClassName:p("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var le=B(require("react"));function ie({nodes:e}){return(0,Ve.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Ve.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ve.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ve.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ve.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ve.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ve.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ve.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ve.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ve.jsx)("table",{children:(0,Ve.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ve.jsx)("tr",{children:o.children.map((n,c)=>(0,Ve.jsx)("td",{children:ie({nodes:n.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ie({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ve.jsx)($e,{...o},r);case"mediaBlock":return(0,Ve.jsx)(pt,{className:"col-start-1 col-span-3",imgClassName:"Ve-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ve.jsx)(Je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ve.jsx)(at,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Ve.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ve.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ve.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ve.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,Ve.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ve.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ve.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var K=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,Ve.jsx)("div",{className:p({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var bt=require("next/navigation");var D=B(require("react"));var Q=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Q.displayName="Card";var q=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));q.displayName="CardHeader";var Z=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));Z.displayName="CardTitle";var ir=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));ir.displayName="CardDescription";var O=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));O.displayName="CardContent";var lr=D.forwardRef(({className:e,...t},r)=>(0,Ve.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));lr.displayName="CardFooter";var Ro=p("transition-colors duration-400 hover:text-primary ease-in-out");function gt({title:e,links:t}){let r=(0,bt.useSearchParams)(),a=(0,bt.usePathname)(),{replace:s}=(0,bt.useRouter)();function o(i){console.log(i);let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),s(`${a}?${n.toString()}`)}return(0,Ve.jsxs)(Q,{children:[(0,Ve.jsx)(q,{children:(0,Ve.jsx)(Z,{children:e&&e})}),(0,Ve.jsx)(O,{children:t&&t.length>0&&(0,Ve.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ve.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Ve.jsxs)("li",{className:"flex items-center text-sm text-accent first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,Ve.jsx)(et.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var ht=B(require("next/link"));function cr({image:e,name:t,about:r,socialLinks:a}){return(0,Ve.jsx)("div",{className:"Ve-1 Ve-10 px-0 pt-0 lg:px-10",children:(0,Ve.jsx)(Q,{children:(0,Ve.jsxs)(O,{children:[e&&e.src&&(0,Ve.jsx)(ft.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:Ee,className:"mx-auto Ve-6 rounded-full object-cover"}),(0,Ve.jsx)("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Ve.jsx)("p",{children:r}),a&&a.length>0&&(0,Ve.jsx)("nav",{"aria-label":"social links",children:(0,Ve.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,Ve.jsx)("li",{children:(0,Ve.jsx)(je,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,Ve.jsx)("span",{children:s.icon})})},o))})})]})})})}function Ce({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var A;if(!e)return(0,bt.notFound)();let{meta:s,populatedAuthors:o,authors:i,categories:n,content:c,title:u}=e,h={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((A=o==null?void 0:o[0])==null?void 0:A.name)||"",category:n,commentCount:0,title:u,description:(s==null?void 0:s.description)||""},x=i==null?void 0:i.map(v=>{var w,g;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((g=(w=v.profilePicture.sizes)==null?void 0:w.small)==null?void 0:g.url)||"/assets/images/blog/author-1.png",alt:v.name||"blog author"},socialLinks:[]}});return(0,Ve.jsx)(Oe,{children:(0,Ve.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ve.jsx)("div",{children:(0,Ve.jsxs)("div",{className:"[&_p+Ve]:Ve-4",children:[(0,Ve.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ve.jsx)(K,{content:c,enableGutter:!1})]})}),(0,Ve.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ve.jsx)("div",{className:"Ve-4 lg:-Ve-10 Ve-10 px-0 pt-0 lg:px-10",children:(0,Ve.jsxs)(Q,{children:[(0,Ve.jsx)(q,{children:(0,Ve.jsx)(Z,{children:"CMS Actions"})}),(0,Ve.jsxs)(O,{children:[(0,Ve.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ve.jsx)(ht.default,{href:`${a}${e.id}`,children:(0,Ve.jsx)(F,{className:"w-full",children:"Edit"})})]})]})}),x&&x.map((v,w)=>(0,Ve.jsx)(cr,{...v},w)),t&&t.links&&(0,Ve.jsx)("div",{className:"Ve-4 px-0 pt-0 lg:px-10",children:(0,Ve.jsx)(gt,{links:t.links,title:t.title})})]})]})})}var dr={title:"Sections/BlogDetail",component:Ce,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,Ve.jsx)(e,{})]},we=e=>(0,Ve.jsx)(Ce,{...e}),ce=we.bind({});ce.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean et ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var yt=we.bind({});yt.args={...ce.args,pages:{totalPages:40,page:20}};var At=we.bind({});At.args={...ce.args,categories:{title:"Categories"}};0&&(module.exports={Default,LoadsOfBlogs,NoCategories});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../chunk-
|
|
1
|
+
import{a as e}from"../chunk-EVXXDGB5.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-XVXQHP54.mjs";import"../chunk-4MNYZ3VG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.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-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as r}from"react/jsx-runtime";var n={title:"Sections/BlogDetail",component:e,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[t=>r(t,{})]},a=t=>r(e,{...t}),i=a.bind({});i.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var o=a.bind({});o.args={...i.args,pages:{totalPages:40,page:20}};var s=a.bind({});s.args={...i.args,categories:{title:"Categories"}};export{i as Default,o as LoadsOfBlogs,s as NoCategories,n as default};
|