cortex-react-components 1.30.0 → 1.31.1
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-NZAFIDYW.mjs → chunk-2O6LNCDB.mjs} +1 -1
- package/dist/chunk-3TIFSACL.mjs +4 -0
- package/dist/chunk-4C4EKVKR.mjs +1 -0
- package/dist/{chunk-FNFAQ72H.mjs → chunk-4YVGPQWY.mjs} +1 -1
- package/dist/{chunk-BXHRAD43.mjs → chunk-7T6B7LTY.mjs} +1 -1
- package/dist/{chunk-TZK3YZ47.mjs → chunk-7TWF6ZKG.mjs} +1 -1
- package/dist/{chunk-EV5IOYFF.mjs → chunk-CUO227DN.mjs} +1 -1
- package/dist/{chunk-BFMATEH7.mjs → chunk-FQYHYI7B.mjs} +1 -1
- package/dist/{chunk-MWR4OP2Y.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-LHPVQIQZ.mjs → chunk-KUZI6GLM.mjs} +1 -1
- package/dist/chunk-LWOXSWWZ.mjs +1 -0
- package/dist/{chunk-MWV2JJKP.mjs → chunk-OMZBJY76.mjs} +1 -1
- package/dist/{chunk-LBEIN6ET.mjs → chunk-QYGH2HKM.mjs} +1 -1
- package/dist/{chunk-LHA7TWHG.mjs → chunk-WEAO5SBP.mjs} +1 -1
- package/dist/{chunk-4YKO7MU4.mjs → chunk-WH4RY4TY.mjs} +1 -1
- package/dist/chunk-XDP6BKTK.mjs +4 -0
- package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.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/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.js +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -4
- 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/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +189 -189
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +77 -77
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +195 -195
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/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-G56GDDMR.mjs +0 -4
- package/dist/chunk-HTTMASXV.mjs +0 -1
- package/dist/chunk-I2GY5WTT.mjs +0 -4
- package/dist/chunk-PO7XYVVB.mjs +0 -1
|
@@ -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 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})},Me=(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)):{},Me(t||!e||!e.__esModule?q(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>Me(q({},"__esModule",{value:!0}),e);var nr={};At(nr,{BlogDetail:()=>ar});module.exports=xt(nr);var Se="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Qe";var He=require("clsx");var ue="-",vt=e=>{let t=Ct(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let n=i.split(ue);return n[0]===""&&n.length!==1&&n.shift(),Le(n,t)||wt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&s[i]?[...c,...s[i]]:c}}},Le=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),a=s?Le(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(ue);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Ie=/^\[(.+)\]$/,wt=e=>{if(Ie.test(e)){let t=Ie.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])=>{me(i,s,o,t)}),s},me=(e,t,r,s)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Ee(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(kt(a)){me(a(s),t,r,s);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{me(i,Ee(t,o),r,s)})})},Ee=(e,t)=>{let r=e;return t.split(ue).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)}}},ze="!",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 v=n[x];if(m===0){if(v===a&&(s||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(ze),N=w?b.substring(1):b,A=f&&f>g?f-g:void 0;return{modifiers:c,hasImportantModifier:w,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),...vt(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:w}=r(m),N=!!w,A=s(N?b.substring(0,w):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(":"),v=f?x+ze:x,C=v+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(v+_)}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=Fe(t))&&(s&&(s+=" "),s+=r);return s}var Fe=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=Fe(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},De=/^\[(?:([a-Qe-]+):)?(.+)\]$/i,Lt=/^\Qe+\/\Qe+$/,zt=new Set(["px","full","screen"]),Ft=/^(\Qe+(\.\Qe+)?)?(xs|sm|md|lg|xl)$/,Dt=/\Qe+(%|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_)?-?((\Qe+)?\.?(\Qe+)[a-Qe]+|0)_-?((\Qe+)?\.?(\Qe+)[a-Qe]+|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)),pe=e=>G(e,"number",U),O=e=>!!e&&Number.isInteger(Number(e)),Kt=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>De.test(e),M=e=>Ft.test(e),Qt=new Set(["length","size","percentage"]),Ot=e=>G(e,Qt,Ue),Vt=e=>G(e,"position",Ue),Yt=new Set(["image","url"]),Jt=e=>G(e,Yt,qt),_t=e=>G(e,"",Xt),V=()=>!0,G=(e,t,r)=>{let s=De.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),Ue=()=>!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"),w=h("gradientColorStops"),N=h("gradientColorStopPositions"),A=h("inset"),x=h("margin"),v=h("opacity"),C=h("padding"),I=h("saturate"),E=h("scale"),_=h("sepia"),Ce=h("skew"),ke=h("space"),Ne=h("translate"),ie=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",l,t],y=()=>[l,t],Pe=()=>["",R,T],j=()=>["auto",U,l],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Be=()=>["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],Te=()=>["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:Pe(),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":Te()}],"break-before":[{"break-before":Te()}],"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:[...Re(),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"],Qe:[{Qe:["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":[ke]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ke]}],"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",pe]}],"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,pe]}],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:[...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":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),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:[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:[...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":[v]}],"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:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"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:[v]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],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":[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: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":[Ne]}],"translate-y":[{"translate-y":[Ne]}],"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","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,pe]}],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 Ge=Et(Wt);function p(...e){return Ge((0,He.clsx)(e))}var Qe=require("react/jsx-runtime");function Ke({children:e,isFluid:t=!1,isNoPadding:r=!1,className:s=""}){let a=p("container",t&&"full-width",r&&"no-padding",s);return(0,Qe.jsx)("div",{className:a,children:e})}var Oe=L(require("next/link"));function W({children:e,href:t,openNewTab:r,...s}){return(0,Qe.jsx)(Oe.default,{href:t,target:r?"_blank":"_self",...s,children:e})}var mt=L(require("next/image")),ne=require("react-icons/fa6");var Ye=({className:e,content:t,style:r})=>(0,Qe.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Qe.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,Qe.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var Je=require("@radix-ui/react-slot"),_e=require("class-variance-authority"),je=L(require("react")),Zt=(0,_e.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=je.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...a},o)=>(0,Qe.jsx)(e?Je.Slot:"button",{className:p(Zt({className:t,size:r,variant:s})),ref:o,...a}));Y.displayName="Button";var ge=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,Qe.jsxs)(ge.default,{className:p(a),href:g||m||"",...b,children:[o&&o,s&&s]}):(0,Qe.jsx)(Y,{asChild:!0,className:a,size:f,variant:r,children:(0,Qe.jsxs)(ge.default,{className:p(a),href:g||m||"",...b,children:[o&&o,s&&s]})})};var qe=({links:e,richText:t})=>(0,Qe.jsx)("div",{className:"container",children:(0,Qe.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,Qe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Qe.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,Qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},s)=>(0,Qe.jsx)($,{size:"lg",...r},s))})]})});var ee=require("prism-react-renderer");var We=require("lucide-react"),Ze=require("react");function $e({code:e}){let[t,r]=(0,Ze.useState)("Copy");function s(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Qe.jsxs)(Y,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Qe.jsx)("p",{children:t}),(0,Qe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Qe.jsx)(We.ClipboardCopy,{})})]})})}var et=({code:e,language:t=""})=>e?(0,Qe.jsx)(ee.Highlight,{code:e,language:t,theme:ee.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:a})=>(0,Qe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,Qe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Qe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Qe.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,Qe.jsx)("span",{...s({token:n})},c))})]},i)),(0,Qe.jsx)($e,{code:e})]})}):null;var tt=({className:e,code:t,language:r})=>(0,Qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Qe.jsx)(et,{code:t,language:r})});var ot=L(require("next/image"));var rt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var te=()=>{if(rt){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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",st=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:v,url:C,width:I}=o;m=I,g=v,f=A||"",b=`${te()}${C}`}let w=c||"lazy",N=i||Object.entries($t).map(([,A])=>`(max-width: ${A}px) ${A*2}w`).join(", ");return(0,Qe.jsx)("picture",{children:(0,Qe.jsx)(ot.default,{alt:f||"",className:p(s),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:er,priority:w!=="lazy"&&a,quality:100,loading:w,sizes:N,src:b,width:r?void 0:m})})};var at=e=>{let{onClick:t,resource:r,videoClassName:s}=e,a=(0,Ze.useRef)(null);if((0,Ze.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Qe.jsx)("video",{autoPlay:!0,className:p(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Qe.jsx)("source",{src:`${te()}/media/${o}`})})}return null};var it=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,Qe.jsx)(r||Ze.Fragment,{...r!==null?{className:t}:{},children:a?(0,Qe.jsx)(at,{...e}):(0,Qe.jsx)(st,{...e})})};var lt=e=>{let{className:t,enableGutter:r=!0,imgClassName:s,media:a,staticImage:o}=e;return(0,Qe.jsx)("div",{className:p("",{container:r},t),children:(0,Qe.jsx)(it,{imgClassName:p("border border-border rounded-[0.8rem]",s),resource:a,src:o})})};var ae=L(require("react"));function se({nodes:e}){return(0,Qe.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Qe.jsx)(ae.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Qe.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Qe.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Qe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Qe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Qe.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Qe.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Qe.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Qe.jsx)("table",{children:(0,Qe.jsx)("tbody",{children:t.children.map((o,i)=>(0,Qe.jsx)("tr",{children:o.children.map((n,c)=>(0,Qe.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,Qe.jsx)(qe,{...o},r);case"mediaBlock":return(0,Qe.jsx)(lt,{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,Qe.jsx)(Ye,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Qe.jsx)(tt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Qe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Qe.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"col-start-2",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Qe.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Qe.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,Qe.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,Qe.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,Qe.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,Qe.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 Ae=F.forwardRef(({className:e,...t},r)=>(0,Qe.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ae.displayName="Card";var xe=F.forwardRef(({className:e,...t},r)=>(0,Qe.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));xe.displayName="CardHeader";var ve=F.forwardRef(({className:e,...t},r)=>(0,Qe.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,Qe.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));tr.displayName="CardDescription";var we=F.forwardRef(({className:e,...t},r)=>(0,Qe.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));we.displayName="CardContent";var rr=F.forwardRef(({className:e,...t},r)=>(0,Qe.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 dt({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,Qe.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,Qe.jsxs)(Ae,{children:[(0,Qe.jsx)(xe,{children:(0,Qe.jsx)(ve,{children:e&&e})}),(0,Qe.jsx)(we,{children:t&&t.length>0&&(0,Qe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Qe.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Qe.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,Qe.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Qe.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Qe.jsx)("a",{className:or,children:i.label})]},n))})})})]})})}function sr({image:e,name:t,about:r,socialLinks:s}){return(0,Qe.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,Qe.jsx)(mt.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:Se,className:"mx-auto rounded-full object-cover"}),(0,Qe.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Qe.jsx)("p",{children:r}),s&&s.length>0&&(0,Qe.jsx)("nav",{"aria-label":"social links",children:(0,Qe.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,Qe.jsx)("li",{children:(0,Qe.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,Qe.jsx)("span",{children:a.icon})})},o))})})]})}var pt=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,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,Qe.jsx)("section",{className:"section-padding-primary",children:(0,Qe.jsx)(Ke,{children:(0,Qe.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Qe.jsx)("div",{children:(0,Qe.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,Qe.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,Qe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Qe.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,Qe.jsx)(ne.FaRegUser,{})}),(0,Qe.jsx)("span",{children:(0,Qe.jsx)(W,{href:"#",className:pt,children:c.authorName})})]}),(0,Qe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Qe.jsx)("span",{className:"flex-none text-sm text-accent",children:c.category&&c.category.length>0&&(0,Qe.jsx)(ne.FaRegFolderOpen,{})}),c.category&&c.category.map((f,b)=>(0,Qe.jsx)(W,{href:"#",className:pt,children:f.title},b))]})]}),(0,Qe.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Qe.jsx)(H,{content:i,enableGutter:!1})]})}),(0,Qe.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,Qe.jsx)(sr,{...f},b)),t&&t.links&&(0,Qe.jsx)("div",{className:"rounded-5 px-8 pt-0 lg:px-10",children:(0,Qe.jsx)(dt,{links:t.links,title:t.title})})]})]})})})}0&&(module.exports={BlogDetail});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-4C4EKVKR.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-7REKDTES.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-QBLIWRIZ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.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-UESKYRNK.mjs";import"../chunk-GLEWUUGS.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 Z=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)Z(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ct(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(wt(e)):{},Le(t||!e||!e.__esModule?Z(r,"default",{value:e,enumerable:!0}):r,e)),Nt=e=>Le(Z({},"__esModule",{value:!0}),e);var mr={};Pt(mr,{Default:()=>ie,LoadsOfBlogs:()=>yt,NoCategories:()=>At,default:()=>pr});module.exports=Nt(mr);var Fe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Ve=require("clsx");var ge="-",Rt=e=>{let t=Bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(ge);return n[0]===""&&n.length!==1&&n.shift(),Ue(n,t)||Tt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&a[i]?[...c,...a[i]]:c}}},Ue=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Ue(e.slice(1),a):void 0;if(s)return s;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},ze=/^\[(.+)\]$/,Tt=e=>{if(ze.test(e)){let t=ze.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])=>{ue(i,a,o,t)}),a},ue=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:De(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(St(s)){ue(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ue(i,De(t,o),r,a)})})},De=(e,t)=>{let r=e;return t.split(ge).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)}}},Ge="!",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),C=b.startsWith(Ge),P=C?b.substring(1):b,A=f&&f>g?f-g:void 0;return{modifiers:c,hasImportantModifier:C,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:C}=r(m),P=!!C,A=a(P?b.substring(0,C):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+Ge:x,w=v+A;if(o.includes(w))continue;o.push(w);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=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 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},Ke=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ht=/^\je+\/\je+$/,Kt=new Set(["px","full","screen"]),Qt=/^(\je+(\.\je+)?)?(xs|sm|md|lg|xl)$/,Ot=/\je+(%|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_)?-?((\je+)?\.?(\je+)[a-z]+|0)_-?((\je+)?\.?(\je+)[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)),me=e=>G(e,"number",U),O=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>Ke.test(e),S=e=>Qt.test(e),Jt=new Set(["length","size","percentage"]),qt=e=>G(e,Jt,Qe),Zt=e=>G(e,"position",Qe),Xt=new Set(["image","url"]),Wt=e=>G(e,Xt,rr),$t=e=>G(e,"",tr),V=()=>!0,G=(e,t,r)=>{let a=Ke.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),Qe=()=>!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"),C=h("gradientColorStops"),P=h("gradientColorStopPositions"),A=h("inset"),x=h("margin"),v=h("opacity"),w=h("padding"),I=h("saturate"),E=h("scale"),_=h("sepia"),Re=h("skew"),Te=h("space"),Be=h("translate"),le=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",l,t],y=()=>[l,t],Se=()=>["",R,B],J=()=>["auto",U,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],Ie=()=>["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],Ee=()=>["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:Se(),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":Ee()}],"break-before":[{"break-before":Ee()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Me(),l]}],overflow:[{overflow: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:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],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":[Te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Te]}],"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",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":[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:[...Me(),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:[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-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:Se()}],"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":[...Ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ie()}],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":[Be]}],"translate-y":[{"translate-y":[Be]}],"skew-x":[{"skew-x":[Re]}],"skew-y":[{"skew-y":[Re]}],"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,B,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 Oe=Gt(or);function p(...e){return Oe((0,Ve.clsx)(e))}var je=require("react/jsx-runtime");function Ye({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=p("container",t&&"full-width",r&&"no-padding",a);return(0,je.jsx)("div",{className:s,children:e})}var _e=L(require("next/link"));function X({children:e,href:t,openNewTab:r,...a}){return(0,je.jsx)(_e.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var bt=L(require("next/image")),ne=require("react-icons/fa6");var qe=({className:e,content:t,style:r})=>(0,je.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,je.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,je.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=require("@radix-ui/react-slot"),Xe=require("class-variance-authority"),We=L(require("react")),ar=(0,Xe.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=We.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,$e.jsx)(e?Ze.Slot:"button",{className:p(ar({className:t,size:r,variant:a})),ref:o,...s}));Y.displayName="Button";var fe=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,je.jsxs)(fe.default,{className:p(s),href:g||m||"",...b,children:[o&&o,a&&a]}):(0,je.jsx)(Y,{asChild:!0,className:s,size:f,variant:r,children:(0,je.jsxs)(fe.default,{className:p(s),href:g||m||"",...b,children:[o&&o,a&&a]})})};var et=({links:e,richText:t})=>(0,je.jsx)("div",{className:"container",children:(0,je.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,je.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,je.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,je.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,je.jsx)($,{size:"lg",...r},a))})]})});var ee=require("prism-react-renderer");var tt=require("lucide-react"),rt=require("react");function ot({code:e}){let[t,r]=(0,rt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,je.jsx)("div",{className:"flex justify-end align-middle",children:(0,je.jsxs)(Y,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,je.jsx)("p",{children:t}),(0,je.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,je.jsx)(tt.ClipboardCopy,{})})]})})}var at=({code:e,language:t=""})=>e?(0,je.jsx)(ee.Highlight,{code:e,language:t,theme:ee.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,je.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,je.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,je.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,je.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,je.jsx)("span",{...a({token:n})},c))})]},i)),(0,je.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:r})=>(0,je.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,je.jsx)(at,{code:t,language:r})});var it=L(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var te=()=>{if(nt){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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",lt=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:w,width:I}=o;m=I,g=v,f=A||"",b=`${te()}${w}`}let C=c||"lazy",P=i||Object.entries(sr).map(([,A])=>`(max-width: ${A}px) ${A*2}w`).join(", ");return(0,je.jsx)("picture",{children:(0,je.jsx)(it.default,{alt:f||"",className:p(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:nr,priority:C!=="lazy"&&s,quality:100,loading:C,sizes:P,src:b,width:r?void 0:m})})};var ct=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,rt.useRef)(null);if((0,rt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,je.jsx)("video",{autoPlay:!0,className:p(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,je.jsx)("source",{src:`${te()}/media/${o}`})})}return null};var pt=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,je.jsx)(r||rt.Fragment,{...r!==null?{className:t}:{},children:s?(0,je.jsx)(ct,{...e}):(0,je.jsx)(lt,{...e})})};var mt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,je.jsx)("div",{className:p("",{container:r},t),children:(0,je.jsx)(pt,{imgClassName:p("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var se=L(require("react"));function ae({nodes:e}){return(0,je.jsx)(se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,je.jsx)(se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,je.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,je.jsx)("em",{children:o},r)),t.format&4&&(o=(0,je.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,je.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,je.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,je.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,je.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,je.jsx)("table",{children:(0,je.jsx)("tbody",{children:t.children.map((o,i)=>(0,je.jsx)("tr",{children:o.children.map((n,c)=>(0,je.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,je.jsx)(et,{...o},r);case"mediaBlock":return(0,je.jsx)(mt,{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,je.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,je.jsx)(st,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,je.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,je.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,je.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,je.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,je.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,je.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,je.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,je.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,je.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 xe=z.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));xe.displayName="Card";var ve=z.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));ve.displayName="CardHeader";var Ce=z.forwardRef(({className:e,...t},r)=>(0,je.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,je.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));ir.displayName="CardDescription";var we=z.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));we.displayName="CardContent";var lr=z.forwardRef(({className:e,...t},r)=>(0,je.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));lr.displayName="CardFooter";var cr=p("transition-colors duration-400 hover:text-primary ease-in-out");function gt({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,je.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,je.jsxs)(xe,{children:[(0,je.jsx)(ve,{children:(0,je.jsx)(Ce,{children:e&&e})}),(0,je.jsx)(we,{children:t&&t.length>0&&(0,je.jsx)("nav",{"aria-label":"footer links navigation",children:(0,je.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,je.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,je.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,je.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,je.jsx)("a",{className:cr,children:i.label})]},n))})})})]})})}function dr({image:e,name:t,about:r,socialLinks:a}){return(0,je.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,je.jsx)(bt.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:Fe,className:"mx-auto rounded-full object-cover"}),(0,je.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,je.jsx)("p",{children:r}),a&&a.length>0&&(0,je.jsx)("nav",{"aria-label":"social links",children:(0,je.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,je.jsx)("li",{children:(0,je.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,je.jsx)("span",{children:s.icon})})},o))})})]})}var ft=p("transition-colors duration-400 hover:text-primary ease-in-out inline");function ke({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,C;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((C=(b=f.profilePicture.sizes)==null?void 0:b.small)==null?void 0:C.url)||"/assets/images/blog/author-1.png",alt:f.name||"blog author"},socialLinks:[]}});return(0,je.jsx)("section",{className:"section-padding-primary",children:(0,je.jsx)(Ye,{children:(0,je.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,je.jsx)("div",{children:(0,je.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,je.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,je.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,je.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,je.jsx)(ne.FaRegUser,{})}),(0,je.jsx)("span",{children:(0,je.jsx)(X,{href:"#",className:ft,children:c.authorName})})]}),(0,je.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,je.jsx)("span",{className:"flex-none text-sm text-accent",children:c.category&&c.category.length>0&&(0,je.jsx)(ne.FaRegFolderOpen,{})}),c.category&&c.category.map((f,b)=>(0,je.jsx)(X,{href:"#",className:ft,children:f.title},b))]})]}),(0,je.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,je.jsx)(H,{content:i,enableGutter:!1})]})}),(0,je.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,je.jsx)(dr,{...f},b)),t&&t.links&&(0,je.jsx)("div",{className:"rounded-5 px-8 pt-0 lg:px-10",children:(0,je.jsx)(gt,{links:t.links,title:t.title})})]})]})})})}var pr={title:"Sections/BlogDetail",component:ke,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,je.jsx)(e,{})]},Pe=e=>(0,je.jsx)(ke,{...e}),ie=Pe.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 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 je 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=Pe.bind({});yt.args={...ie.args,pages:{totalPages:40,page:20}};var At=Pe.bind({});At.args={...ie.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-4C4EKVKR.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-7REKDTES.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-QBLIWRIZ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.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-UESKYRNK.mjs";import"../chunk-GLEWUUGS.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-UPGCLHFC.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-UPGCLHFC.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-WDR3ISFA.mjs";import"../chunk-QBLIWRIZ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.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-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as PricingSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../chunk-UPGCLHFC.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-
|
|
1
|
+
import{a as i}from"../chunk-UPGCLHFC.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-WDR3ISFA.mjs";import"../chunk-QBLIWRIZ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.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-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as o}from"react/jsx-runtime";var m={title:"Sections/PricingSection",component:i,tags:["autodocs"],parameters:{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=>o(t,{})]},e=t=>o(i,{...t}),r=e.bind({});r.args={sectionHeading:{subtitle:"Pricing Action",title:"Innovating for a better tomorrow",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply"},cards:[{title:"Basic Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$49",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}},{title:"Standard Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$79",duration:"/month",isPopular:!0,button:{href:"/",label:"Select Plan"}},{title:"Premium Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$99",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}}]};export{r as Default,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-7TWF6ZKG.mjs";import"../chunk-KUZI6GLM.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as ServiceSection};
|