cortex-react-components 1.39.7 → 1.40.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-FF5RGGCG.mjs → chunk-2R7F4VOJ.mjs} +1 -1
- package/dist/{chunk-F3X4XMDX.mjs → chunk-34NJELRZ.mjs} +1 -1
- package/dist/{chunk-BYXEE5EN.mjs → chunk-3GDRM3XB.mjs} +1 -1
- package/dist/{chunk-7XSAYKJ7.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/chunk-4TPT6VSD.mjs +4 -0
- package/dist/{chunk-YGQFXPN4.mjs → chunk-4ZT572BM.mjs} +1 -1
- package/dist/{chunk-KQLEXEOG.mjs → chunk-5XF6WIV7.mjs} +1 -1
- package/dist/{chunk-F4NSZHLC.mjs → chunk-67CFEGX4.mjs} +1 -1
- package/dist/{chunk-GMMJ5NQ2.mjs → chunk-ADJEMG5X.mjs} +1 -1
- package/dist/{chunk-O77SHHMY.mjs → chunk-CH46S52X.mjs} +1 -1
- package/dist/chunk-CTKUF2I6.mjs +4 -0
- package/dist/{chunk-GHBJK554.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-7ZHB6VE4.mjs → chunk-DJ5BLICX.mjs} +1 -1
- package/dist/chunk-DRJBYVJB.mjs +4 -0
- package/dist/{chunk-2JZGT4F6.mjs → chunk-EI7PFWFS.mjs} +1 -1
- package/dist/{chunk-3G3SVIM2.mjs → chunk-GBLZNN44.mjs} +1 -1
- package/dist/{chunk-RZTXT4UD.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-4AVYTUS2.mjs → chunk-HOHTZCBW.mjs} +1 -1
- package/dist/{chunk-6TGQ2756.mjs → chunk-KKLZ6CCZ.mjs} +1 -1
- package/dist/{chunk-OZ7CSBQO.mjs → chunk-KQGTRCZ6.mjs} +1 -1
- package/dist/chunk-LCWZZNZR.mjs +1 -0
- package/dist/{chunk-R75QPTHT.mjs → chunk-MLCK4J2D.mjs} +1 -1
- package/dist/{chunk-DOZXVU56.mjs → chunk-QUC2J3J4.mjs} +1 -1
- package/dist/{chunk-3O45WZBW.mjs → chunk-QY7LU2TL.mjs} +1 -1
- package/dist/{chunk-VAEKAYFF.mjs → chunk-RT2YQPBB.mjs} +1 -1
- package/dist/{chunk-XJIMKYBF.mjs → chunk-STREWEPO.mjs} +1 -1
- package/dist/chunk-T6LPMF7A.mjs +4 -0
- package/dist/chunk-TA72YYXA.mjs +4 -0
- package/dist/chunk-TXXFXCXB.mjs +4 -0
- package/dist/chunk-TYFBZ3Q7.mjs +1 -0
- package/dist/{chunk-YCOPE2XU.mjs → chunk-UDRX6THN.mjs} +1 -1
- package/dist/{chunk-BD4GVPWR.mjs → chunk-UYL4BACW.mjs} +1 -1
- package/dist/{chunk-PC3JJLM4.mjs → chunk-W7NOB7CY.mjs} +1 -1
- package/dist/{chunk-YF7BU7S3.mjs → chunk-ZQJMFGKU.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +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/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.js +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.js +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.js +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.js +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.js +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +1 -1
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.d.ts +2 -2
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.js +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +180 -180
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.d.ts +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.js +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/form/server/contact-us-form-submit.js +1 -1
- package/dist/sections/form/server/contact-us-form-submit.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-65EMMROH.mjs +0 -4
- package/dist/chunk-6D7LTGTN.mjs +0 -4
- package/dist/chunk-JVRJU2VL.mjs +0 -4
- package/dist/chunk-O5XLZ254.mjs +0 -4
- package/dist/chunk-OCZTJKMQ.mjs +0 -1
- package/dist/chunk-WVW7G4YL.mjs +0 -1
- package/dist/chunk-XMZX5PFT.mjs +0 -4
- package/dist/chunk-YLGJP63J.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var kt=Object.create;var re=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var Pt=Object.getOwnPropertyNames;var At=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var Rt=(t,e)=>{for(var o in e)re(t,o,{get:e[o],enumerable:!0})},Ge=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Pt(e))!Nt.call(t,a)&&a!==o&&re(t,a,{get:()=>e[a],enumerable:!(n=Ct(e,a))||n.enumerable});return t};var z=(t,e,o)=>(o=t!=null?kt(At(t)):{},Ge(e||!t||!t.__esModule?re(o,"default",{value:t,enumerable:!0}):o,t)),Tt=t=>Ge(re({},"__esModule",{value:!0}),t);var fo={};Rt(fo,{CMSLink:()=>Z,Card:()=>we,CollectionArchive:()=>lo,Logo:()=>co,Media:()=>X,PageRange:()=>uo,PayloadPagination:()=>go,RichText:()=>U});module.exports=Tt(fo);var Je=require("clsx");var ye="-",Bt=t=>{let e=It(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:s=>{let i=s.split(ye);return i[0]===""&&i.length!==1&&i.shift(),He(i,e)||St(s)},getConflictingClassGroupIds:(s,i)=>{let c=o[s]||[];return i&&n[s]?[...c,...n[s]]:c}}},He=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let o=t[0],n=e.nextPart.get(o),a=n?He(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let r=t.join(ye);return(s=e.validators.find(({validator:i})=>i(r)))==null?void 0:s.classGroupId},Ue=/^\[(.+)\]$/,St=t=>{if(Ue.test(t)){let e=Ue.exec(t)[1],o=e==null?void 0:e.substring(0,e.indexOf(":"));if(o)return"arbitrary.."+o}},It=t=>{let{theme:e,prefix:o}=t,n={nextPart:new Map,validators:[]};return Et(Object.entries(t.classGroups),o).forEach(([r,s])=>{be(s,n,r,e)}),n},be=(t,e,o,n)=>{t.forEach(a=>{if(typeof a=="string"){let r=a===""?e:De(e,a);r.classGroupId=o;return}if(typeof a=="function"){if(Mt(a)){be(a(n),e,o,n);return}e.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([r,s])=>{be(s,De(e,r),o,n)})})},De=(t,e)=>{let o=t;return e.split(ye).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},Mt=t=>t.isThemeGetter,Et=(t,e)=>e?t.map(([o,n])=>{let a=n.map(r=>typeof r=="string"?e+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,i])=>[e+s,i])):r);return[o,a]}):t,Lt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=new Map,n=new Map,a=(r,s)=>{o.set(r,s),e++,e>t&&(e=0,n=o,o=new Map)};return{get(r){let s=o.get(r);if(s!==void 0)return s;if((s=n.get(r))!==void 0)return a(r,s),s},set(r,s){o.has(r)?o.set(r,s):a(r,s)}}},Oe="!",zt=t=>{let{separator:e,experimentalParseClassName:o}=t,n=e.length===1,a=e[0],r=e.length,s=i=>{let c=[],p=0,g=0,d;for(let y=0;y<i.length;y++){let w=i[y];if(p===0){if(w===a&&(n||i.slice(y,y+r)===e)){c.push(i.slice(g,y)),g=y+r;continue}if(w==="/"){d=y;continue}}w==="["?p++:w==="]"&&p--}let u=c.length===0?i:i.substring(g),x=u.startsWith(Oe),C=x?u.substring(1):u,f=d&&d>g?d-g:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:f}};return o?i=>o({className:i,parseClassName:s}):s},Ft=t=>{if(t.length<=1)return t;let e=[],o=[];return t.forEach(n=>{n[0]==="["?(e.push(...o.sort(),n),o=[]):o.push(n)}),e.push(...o.sort()),e},Gt=t=>({cache:Lt(t.cacheSize),parseClassName:zt(t),...Bt(t)}),Ut=/\s+/,Dt=(t,e)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=e,r=[],s=t.trim().split(Ut),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:g,hasImportantModifier:d,baseClassName:u,maybePostfixModifierPosition:x}=o(p),C=!!x,f=n(C?u.substring(0,x):u);if(!f){if(!C){i=p+(i.length>0?" "+i:i);continue}if(f=n(u),!f){i=p+(i.length>0?" "+i:i);continue}C=!1}let y=Ft(g).join(":"),w=d?y+Oe:y,P=w+f;if(r.includes(P))continue;r.push(P);let B=a(f,C);for(let S=0;S<B.length;++S){let V=B[S];r.push(w+V)}i=p+(i.length>0?" "+i:i)}return i};function Ht(){let t=0,e,o,n="";for(;t<arguments.length;)(e=arguments[t++])&&(o=Ve(e))&&(n&&(n+=" "),n+=o);return n}var Ve=t=>{if(typeof t=="string")return t;let e,o="";for(let n=0;n<t.length;n++)t[n]&&(e=Ve(t[n]))&&(o&&(o+=" "),o+=e);return o};function Ot(t,...e){let o,n,a,r=s;function s(c){let p=e.reduce((g,d)=>d(g),t());return o=Gt(p),n=o.cache.get,a=o.cache.set,r=i,i(c)}function i(c){let p=n(c);if(p)return p;let g=Dt(c,o);return a(c,g),g}return function(){return r(Ht.apply(null,arguments))}}var h=t=>{let e=o=>o[t]||[];return e.isThemeGetter=!0,e},je=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vt=/^\d+\/\d+$/,jt=new Set(["px","full","screen"]),Qt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|he|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|he|min|max))|\he(calc|min|max|clamp)\(.+\)|^0$/,Jt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)he-?((\d+)?\.?(\d+)[a-z]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=t=>j(t)||jt.has(t)||Vt.test(t),F=t=>Q(t,"length",oo),j=t=>!!t&&!Number.isNaN(Number(t)),fe=t=>Q(t,"number",j),$=t=>!!t&&Number.isInteger(Number(t)),Yt=t=>t.endsWith("%")&&j(t.slice(0,-1)),l=t=>je.test(t),G=t=>Qt.test(t),Xt=new Set(["length","size","percentage"]),qt=t=>Q(t,Xt,Qe),Wt=t=>Q(t,"position",Qe),Zt=new Set(["image","url"]),eo=t=>Q(t,Zt,no),to=t=>Q(t,"",ro),Y=()=>!0,Q=(t,e,o)=>{let n=je.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):o(n[2]):!1},oo=t=>_t.test(t)&&!Jt.test(t),Qe=()=>!1,ro=t=>Kt.test(t),no=t=>$t.test(t);var ao=()=>{let t=h("colors"),e=h("spacing"),o=h("blur"),n=h("brightness"),a=h("borderColor"),r=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),c=h("contrast"),p=h("grayscale"),g=h("hueRotate"),d=h("invert"),u=h("gap"),x=h("gradientColorStops"),C=h("gradientColorStopPositions"),f=h("inset"),y=h("margin"),w=h("opacity"),P=h("padding"),B=h("saturate"),S=h("scale"),V=h("sepia"),ee=h("skew"),Ie=h("space"),Me=h("translate"),de=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",l,e],v=()=>[l,e],Ee=()=>["",M,F],te=()=>["auto",j,l],Le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[j,l];return{cacheSize:500,separator:":",theme:{colors:[Y],spacing:[M,F],blur:["none","",G,l],brightness:I(),borderColor:[t],borderRadius:["none","","full",G,l],borderSpacing:v(),borderWidth:Ee(),contrast:I(),grayscale:K(),hueRotate:I(),invert:K(),gap:v(),gradientColorStops:[t],gradientColorStopPositions:[Yt,F],inset:ue(),margin:ue(),opacity:I(),padding:v(),saturate:I(),scale:I(),sepia:K(),skew:I(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[G]}],"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:[...Le(),l]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$,l]}],basis:[{basis:ue()}],"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:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",$,l]}],"grid-cols":[{"grid-cols":[Y]}],"col-start-end":[{col:["auto",{span:["full",$,l]},l]}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":[Y]}],"row-start-end":[{row:["auto",{span:[$,l]},l]}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],he:[{he:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Ie]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ie]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,e]}],"min-w":[{"min-w":[l,e,"min","max","fit"]}],"max-w":[{"max-w":[l,e,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[l,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,e,"auto","min","max","fit"]}],"font-size":[{text:["base",G,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[Y]}],"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",j,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"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:[...Le(),Wt]}],"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","he","bl","l","tl"]},eo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-he":[{"rounded-he":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-he":[{"border-he":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:oe()}],"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-he":[{"border-he":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...oe()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,F]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",G,to]}],"shadow-color":[{shadow:[Y]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",G,l]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[d]}],saturate:[{saturate:[B]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[$,l]}],"translate-x":[{"translate-x":[Me]}],"translate-y":[{"translate-y":[Me]}],"skew-x":[{"skew-x":[ee]}],"skew-y":[{"skew-y":[ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","T-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-he":[{"scroll-he":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[M,F,fe]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","he","pr","pb","pl"],px:["pr","pl"],py:["he","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-he","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-he":["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-he","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-he"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-he","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-he"],"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-he","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-he","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var _e=Ot(ao);function m(...t){return _e((0,Je.clsx)(t))}var Ke=require("next/navigation"),T=require("react");function so({external:t=!1,newTab:e=!1,scroll:o=!0}){let n=(0,Ke.useRouter)(),a=(0,T.useRef)(null),r=(0,T.useRef)(null),s=(0,T.useRef)(0),i=(0,T.useRef)(!1),c=(0,T.useRef)(0),p=(0,T.useCallback)(d=>{if(d.target){let u=d.target,x=+new Date,C=u==null?void 0:u.closest("a");c.current=d.button,C?i.current=!0:(i.current=!1,s.current=x)}},[n,a,r,s]),g=(0,T.useCallback)(d=>{var u,x;if((u=r.current)!=null&&u.href){let f=+new Date-s.current;if((x=r.current)!=null&&x.href&&f<=250&&!i.current&&c.current===0&&!d.ctrlKey)if(t){let y=e?"_blank":"_self";window.open(r.current.href,y)}else n.push(r.current.href,{scroll:o})}},[n,a,r,s]);return(0,T.useEffect)(()=>{let d=a.current;return d&&(d.addEventListener("mousedown",p),d.addEventListener("mouseup",g)),()=>{d&&d&&(d==null||d.removeEventListener("mousedown",p),d==null||d.removeEventListener("mouseup",g))}},[a,r,n]),{card:{ref:a},link:{ref:r}}}var $e=so;var ot=z(require("next/link"));var Xe=z(require("next/image")),he=require("react/jsx-runtime"),io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ye="data:image/png;base64,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",qe=t=>{let{alt:e,fill:o,imgClassName:n,priority:a,resource:r,size:s,src:i,loading:c}=t,p,g,d=e,u=i||"";if(!u&&r&&typeof r=="object"){let{alt:f,filename:y,height:w,url:P,width:B}=r;p=B,g=w,d=f||"",u=P||Ye}let x=c||"lazy",C=s||Object.entries(io).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,he.jsx)("picture",{children:(0,he.jsx)(Xe.default,{alt:d||"",className:m(n),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:Ye,priority:x!=="lazy"&&a,quality:100,loading:x,sizes:C,src:u,width:o?void 0:p})})};var We=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ze=()=>{if(We){let t=window.location.protocol,e=window.location.hostname,o=window.location.port;return`${t}//${e}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var et=t=>{let{onClick:e,resource:o,videoClassName:n}=t,a=(0,T.useRef)(null);if((0,T.useEffect)(()=>{let{current:r}=a;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,he.jsx)("video",{autoPlay:!0,className:m(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,he.jsx)("source",{src:`${Ze()}/media/${r}`})})}return null};var X=t=>{var s;let{className:e,htmlElement:o="div",resource:n}=t,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,he.jsx)(o||T.Fragment,{...o!==null?{className:e}:{},children:a?(0,he.jsx)(et,{...t}):(0,he.jsx)(qe,{...t})})};var we=t=>{let{card:e,link:o}=$e({}),{className:n,doc:a,relationTo:r,showCategories:s,title:i}=t,{slug:c,categories:p,meta:g,title:d}=a||{},{description:u,image:x}=g||{},C=p&&Array.isArray(p)&&p.length>0,f=i||d,y=u==null?void 0:u.replace(/\s/g," "),w=`/${r}/${c}`;return(0,he.jsxs)("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:e.ref,children:[(0,he.jsxs)("div",{className:"relative w-full ",children:[!x&&(0,he.jsx)("div",{className:"",children:"No image"}),x&&typeof x!="string"&&(0,he.jsx)(X,{resource:x,size:"33vw"})]}),(0,he.jsxs)("div",{className:"p-4",children:[s&&C&&(0,he.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&C&&(0,he.jsx)("div",{children:p==null?void 0:p.map((P,B)=>{if(typeof P=="object"){let{title:S}=P,V=S||"Untitled category",ee=B===p.length-1;return(0,he.jsxs)(T.Fragment,{children:[V,!ee&&(0,he.jsx)(T.Fragment,{children:", \xA0"})]},B)}return null})})}),f&&(0,he.jsx)("div",{className:"prose",children:(0,he.jsx)("h3",{children:(0,he.jsx)(ot.default,{className:"not-prose",href:w,ref:o.ref,children:f})})}),u&&(0,he.jsx)("div",{className:"mt-2",children:u&&(0,he.jsx)("p",{children:y})})]})]})};var lo=t=>{let{posts:e}=t;return(0,he.jsx)("div",{className:m("container"),children:(0,he.jsx)("div",{children:(0,he.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:e==null?void 0:e.map((o,n)=>typeof o=="object"&&o!==null?(0,he.jsx)("div",{className:"col-span-4",children:(0,he.jsx)(we,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},n):null)})})})};var rt=require("@radix-ui/react-slot"),nt=require("class-variance-authority"),at=z(require("react")),ke=(0,nt.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"}}}),q=at.forwardRef(({asChild:t=!1,className:e,size:o,variant:n,...a},r)=>(0,he.jsx)(t?rt.Slot:"button",{className:m(ke({className:e,size:o,variant:n})),ref:r,...a}));q.displayName="Button";var Ce=z(require("next/link")),Z=t=>{let{type:e,appearance:o="inline",children:n,className:a,label:r,newTab:s,reference:i,size:c,url:p}=t,g=e==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!g)return null;let d=o==="link"?"clear":c,u=s?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,he.jsxs)(Ce.default,{className:m(a),href:g||p||"",...u,children:[r&&r,n&&n]}):(0,he.jsx)(q,{asChild:!0,className:a,size:d,variant:o,children:(0,he.jsxs)(Ce.default,{className:m(a),href:g||p||"",...u,children:[r&&r,n&&n]})})};var it=z(require("clsx")),lt=z(require("next/image")),co=t=>{let{loading:e,priority:o,className:n}=t;return(0,he.jsx)(lt.default,{alt:"Payload Logo",width:193,height:34,loading:e||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,it.default)("max-w-[9.375rem] w-full h-[34px]",n),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var po={plural:"Docs",singular:"Doc"},mo={posts:{plural:"Posts",singular:"Post"}},uo=t=>{let{className:e,collection:o,collectionLabels:n,currentPage:a,limit:r,totalDocs:s}=t,i=(a?a-1:1)*(r||1)+1;s&&i>s&&(i=0);let c=(a||1)*(r||1);s&&c>s&&(c=s);let{plural:p,singular:g}=n||mo[o||""]||po||{};return(0,he.jsxs)("div",{className:[e,"font-semibold"].filter(Boolean).join(" "),children:[(typeof s=="undefined"||s===0)&&"Search produced no results.",typeof s!="undefined"&&s>0&&`Showing ${i}${i>0?` - ${c}`:""} of ${s} ${s>1?p:g}`]})};var J=require("lucide-react"),Pe=z(require("react")),Ae=({className:t,...e})=>(0,he.jsx)("nav",{"aria-label":"pagination",className:m("mx-auto flex w-full justify-center",t),role:"navigation",...e});Ae.displayName="Pagination";var Ne=Pe.forwardRef(({className:t,...e},o)=>(0,he.jsx)("ul",{className:m("flex flex-row items-center gap-1",t),ref:o,...e}));Ne.displayName="PaginationContent";var E=Pe.forwardRef(({className:t,...e},o)=>(0,he.jsx)("li",{className:m("",t),ref:o,...e}));E.displayName="PaginationItem";var H=({className:t,isActive:e,size:o="icon",...n})=>(0,he.jsx)("button",{"aria-current":e?"page":void 0,className:m(ke({size:o,variant:e?"outline":"ghost"}),t),...n});H.displayName="PaginationLink";var Re=({className:t,...e})=>(0,he.jsxs)(H,{"aria-label":"Go to previous page",className:m("gap-1 pl-2.5",t),size:"default",...e,children:[(0,he.jsx)(J.ChevronLeft,{className:"h-4 w-4"}),(0,he.jsx)("span",{children:"Previous"})]});Re.displayName="PaginationPrevious";var Te=({className:t,...e})=>(0,he.jsxs)(H,{"aria-label":"Go to next page",className:m("gap-1 pr-2.5",t),size:"default",...e,children:[(0,he.jsx)("span",{children:"Next"}),(0,he.jsx)(J.ChevronRight,{className:"h-4 w-4"})]});Te.displayName="PaginationNext";var se=({className:t,...e})=>(0,he.jsxs)("span",{"aria-hidden":!0,className:m("flex h-9 w-9 items-center justify-center",t),...e,children:[(0,he.jsx)(J.MoreHorizontal,{className:"h-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"More pages"})]});se.displayName="PaginationEllipsis";var go=t=>{let e=(0,Ke.useRouter)(),{className:o,page:n,totalPages:a}=t,r=n<a,s=n>1,i=n-1>1,c=n+1<a;return(0,he.jsx)("div",{className:m("my-12",o),children:(0,he.jsx)(Ae,{children:(0,he.jsxs)(Ne,{children:[(0,he.jsx)(E,{children:(0,he.jsx)(Re,{disabled:!s,onClick:()=>{e.push(`/posts/page/${n-1}`)}})}),i&&(0,he.jsx)(E,{children:(0,he.jsx)(se,{})}),s&&(0,he.jsx)(E,{children:(0,he.jsx)(H,{onClick:()=>{e.push(`/posts/page/${n-1}`)},children:n-1})}),(0,he.jsx)(E,{children:(0,he.jsx)(H,{isActive:!0,onClick:()=>{e.push(`/posts/page/${n}`)},children:n})}),r&&(0,he.jsx)(E,{children:(0,he.jsx)(H,{onClick:()=>{e.push(`/posts/page/${n+1}`)},children:n+1})}),c&&(0,he.jsx)(E,{children:(0,he.jsx)(se,{})}),(0,he.jsx)(E,{children:(0,he.jsx)(Te,{disabled:!r,onClick:()=>{e.push(`/posts/page/${n+1}`)}})})]})})})};var mt=({className:t,content:e,style:o})=>(0,he.jsx)("div",{className:m("mx-auto my-8 w-full",t),children:(0,he.jsx)("div",{className:m("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,he.jsx)(U,{content:e,enableGutter:!1,enableProse:!1})})});var ut=({links:t,richText:e})=>(0,he.jsx)("div",{className:"container",children:(0,he.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,he.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,he.jsx)(U,{className:"mb-0",content:e,enableGutter:!1})}),(0,he.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},n)=>(0,he.jsx)(Z,{size:"lg",...o},n))})]})});var le=require("prism-react-renderer");function bt({code:t}){let[e,o]=(0,T.useState)("Copy");function n(){e==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,he.jsx)("div",{className:"flex justify-end align-middle",children:(0,he.jsxs)(q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,he.jsx)("p",{children:e}),(0,he.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,he.jsx)(J.ClipboardCopy,{})})]})})}var yt=({code:t,language:e=""})=>t?(0,he.jsx)(le.Highlight,{code:t,language:e,theme:le.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:a})=>(0,he.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((r,s)=>(0,he.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,he.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,he.jsx)("span",{className:"table-cell pl-4",children:r.map((i,c)=>(0,he.jsx)("span",{...n({token:i})},c))})]},s)),(0,he.jsx)(bt,{code:t})]})}):null;var ht=({className:t,code:e,language:o})=>(0,he.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,he.jsx)(yt,{code:e,language:o})});var vt=t=>{let{className:e,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=t;return(0,he.jsx)("div",{className:m("",{container:o},e),children:(0,he.jsx)(X,{imgClassName:m("border border-border rounded-[0.8rem]",n),resource:a,src:r})})};var xt=({title:t,description:e,features:o,id:n})=>(0,he.jsxs)("section",{className:m("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,he.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,he.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,he.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,he.jsx)(U,{content:e,enableGutter:!1})}),(0,he.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,r)=>{let s=(0,he.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,he.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,he.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,he.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,he.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,he.jsx)("div",{className:"text-lg opacity-80",children:(0,he.jsx)(U,{content:a.content,enableGutter:!1})})]},r);return a.link?(0,he.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},r):s})})]});var pe=z(require("react"));function ce({nodes:t}){return(0,he.jsx)(pe.Fragment,{children:t==null?void 0:t.map((e,o)=>{if(e==null)return null;if(e.type==="text"){let r=(0,he.jsx)(pe.default.Fragment,{children:e.text},o);return e.format&1&&(r=(0,he.jsx)("strong",{children:r},o)),e.format&2&&(r=(0,he.jsx)("em",{children:r},o)),e.format&4&&(r=(0,he.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),e.format&8&&(r=(0,he.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),e.format&16&&(r=(0,he.jsx)("code",{children:e.text},o)),e.format&32&&(r=(0,he.jsx)("sub",{children:r},o)),e.format&64&&(r=(0,he.jsx)("sup",{children:r},o)),r}if(e.type==="table")return(0,he.jsx)("table",{children:(0,he.jsx)("tbody",{children:e.children.map((r,s)=>(0,he.jsx)("tr",{children:r.children.map((i,c)=>(0,he.jsx)("td",{children:ce({nodes:i.children})},c))},s))})},o);let n=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let s of r.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return ce({nodes:r.children})},a="children"in e?n(e):"";if(e.type==="block"){let r=e.fields,s=r==null?void 0:r.blockType;if(!r||!s)return null;switch(s){case"cta":return(0,he.jsx)(ut,{...r},o);case"mediaBlock":return(0,he.jsx)(vt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,he.jsx)(mt,{className:"col-start-2 mb-4",...r},o);case"code":return(0,he.jsx)(ht,{className:"col-start-2",...r},o);case"features":return(0,he.jsx)(xt,{...r},o);default:return null}}else switch(e.type){case"linebreak":return(0,he.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,he.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let r=e==null?void 0:e.tag;return(0,he.jsx)(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},o)}case"list":{let r=e==null?void 0:e.tag;return(0,he.jsx)(r,{className:"list col-start-2",children:a},o)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,he.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},o):(0,he.jsx)("li",{value:e==null?void 0:e.value,children:a},o);case"quote":return(0,he.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let r=e.fields;return(0,he.jsx)(Z,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}default:return null}})})}var U=({className:t,content:e,enableGutter:o=!0,enableProse:n=!0})=>{var a;return e?(0,he.jsx)("div",{className:m({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&ce({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
|
|
4
|
+
"use strict";var Pt=Object.create;var re=Object.defineProperty;var At=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var Rt=Object.getPrototypeOf,Bt=Object.prototype.hasOwnProperty;var Tt=(t,e)=>{for(var o in e)re(t,o,{get:e[o],enumerable:!0})},Ue=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Nt(e))!Bt.call(t,a)&&a!==o&&re(t,a,{get:()=>e[a],enumerable:!(n=At(e,a))||n.enumerable});return t};var z=(t,e,o)=>(o=t!=null?Pt(Rt(t)):{},Ue(e||!t||!t.__esModule?re(o,"default",{value:t,enumerable:!0}):o,t)),It=t=>Ue(re({},"__esModule",{value:!0}),t);var yo={};Tt(yo,{CMSLink:()=>Z,Card:()=>we,CollectionArchive:()=>po,Logo:()=>mo,Media:()=>H,PageRange:()=>fo,PayloadPagination:()=>bo,RichText:()=>U});module.exports=It(yo);var Ke=require("clsx");var ye="-",St=t=>{let e=Et(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:s=>{let i=s.split(ye);return i[0]===""&&i.length!==1&&i.shift(),Oe(i,e)||Mt(s)},getConflictingClassGroupIds:(s,i)=>{let c=o[s]||[];return i&&n[s]?[...c,...n[s]]:c}}},Oe=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let o=t[0],n=e.nextPart.get(o),a=n?Oe(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let r=t.join(ye);return(s=e.validators.find(({validator:i})=>i(r)))==null?void 0:s.classGroupId},De=/^\[(.+)\]$/,Mt=t=>{if(De.test(t)){let e=De.exec(t)[1],o=e==null?void 0:e.substring(0,e.indexOf(":"));if(o)return"arbitrary.."+o}},Et=t=>{let{theme:e,prefix:o}=t,n={nextPart:new Map,validators:[]};return zt(Object.entries(t.classGroups),o).forEach(([r,s])=>{be(s,n,r,e)}),n},be=(t,e,o,n)=>{t.forEach(a=>{if(typeof a=="string"){let r=a===""?e:He(e,a);r.classGroupId=o;return}if(typeof a=="function"){if(Lt(a)){be(a(n),e,o,n);return}e.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([r,s])=>{be(s,He(e,r),o,n)})})},He=(t,e)=>{let o=t;return e.split(ye).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},Lt=t=>t.isThemeGetter,zt=(t,e)=>e?t.map(([o,n])=>{let a=n.map(r=>typeof r=="string"?e+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,i])=>[e+s,i])):r);return[o,a]}):t,Ft=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=new Map,n=new Map,a=(r,s)=>{o.set(r,s),e++,e>t&&(e=0,n=o,o=new Map)};return{get(r){let s=o.get(r);if(s!==void 0)return s;if((s=n.get(r))!==void 0)return a(r,s),s},set(r,s){o.has(r)?o.set(r,s):a(r,s)}}},Ve="!",Gt=t=>{let{separator:e,experimentalParseClassName:o}=t,n=e.length===1,a=e[0],r=e.length,s=i=>{let c=[],d=0,g=0,m;for(let y=0;y<i.length;y++){let w=i[y];if(d===0){if(w===a&&(n||i.slice(y,y+r)===e)){c.push(i.slice(g,y)),g=y+r;continue}if(w==="/"){m=y;continue}}w==="["?d++:w==="]"&&d--}let u=c.length===0?i:i.substring(g),x=u.startsWith(Ve),C=x?u.substring(1):u,b=m&&m>g?m-g:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:b}};return o?i=>o({className:i,parseClassName:s}):s},Ut=t=>{if(t.length<=1)return t;let e=[],o=[];return t.forEach(n=>{n[0]==="["?(e.push(...o.sort(),n),o=[]):o.push(n)}),e.push(...o.sort()),e},Dt=t=>({cache:Ft(t.cacheSize),parseClassName:Gt(t),...St(t)}),Ht=/\s+/,Ot=(t,e)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=e,r=[],s=t.trim().split(Ht),i="";for(let c=s.length-1;c>=0;c-=1){let d=s[c],{modifiers:g,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:x}=o(d),C=!!x,b=n(C?u.substring(0,x):u);if(!b){if(!C){i=d+(i.length>0?" "+i:i);continue}if(b=n(u),!b){i=d+(i.length>0?" "+i:i);continue}C=!1}let y=Ut(g).join(":"),w=m?y+Ve:y,P=w+b;if(r.includes(P))continue;r.push(P);let T=a(b,C);for(let I=0;I<T.length;++I){let Q=T[I];r.push(w+Q)}i=d+(i.length>0?" "+i:i)}return i};function Vt(){let t=0,e,o,n="";for(;t<arguments.length;)(e=arguments[t++])&&(o=Qe(e))&&(n&&(n+=" "),n+=o);return n}var Qe=t=>{if(typeof t=="string")return t;let e,o="";for(let n=0;n<t.length;n++)t[n]&&(e=Qe(t[n]))&&(o&&(o+=" "),o+=e);return o};function Qt(t,...e){let o,n,a,r=s;function s(c){let d=e.reduce((g,m)=>m(g),t());return o=Dt(d),n=o.cache.get,a=o.cache.set,r=i,i(c)}function i(c){let d=n(c);if(d)return d;let g=Ot(c,o);return a(c,g),g}return function(){return r(Vt.apply(null,arguments))}}var h=t=>{let e=o=>o[t]||[];return e.isThemeGetter=!0,e},_e=/^\[(?:([a-z-]+):)?(.+)\]$/i,_t=/^\d+\/\d+$/,jt=new Set(["px","full","screen"]),Jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|he|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$t=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Yt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=t=>_(t)||jt.has(t)||_t.test(t),F=t=>j(t,"length",no),_=t=>!!t&&!Number.isNaN(Number(t)),fe=t=>j(t,"number",_),Y=t=>!!t&&Number.isInteger(Number(t)),qt=t=>t.endsWith("%")&&_(t.slice(0,-1)),l=t=>_e.test(t),G=t=>Jt.test(t),Wt=new Set(["length","size","percentage"]),Zt=t=>j(t,Wt,je),eo=t=>j(t,"position",je),to=new Set(["image","url"]),oo=t=>j(t,to,so),ro=t=>j(t,"",ao),X=()=>!0,j=(t,e,o)=>{let n=_e.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):o(n[2]):!1},no=t=>Kt.test(t)&&!$t.test(t),je=()=>!1,ao=t=>Yt.test(t),so=t=>Xt.test(t);var io=()=>{let t=h("colors"),e=h("spacing"),o=h("blur"),n=h("brightness"),a=h("borderColor"),r=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),c=h("contrast"),d=h("grayscale"),g=h("hueRotate"),m=h("invert"),u=h("gap"),x=h("gradientColorStops"),C=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),w=h("opacity"),P=h("padding"),T=h("saturate"),I=h("scale"),Q=h("sepia"),ee=h("skew"),Me=h("space"),Ee=h("translate"),de=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",l,e],v=()=>[l,e],Le=()=>["",M,F],te=()=>["auto",_,l],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",l],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[_,l];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[M,F],blur:["none","",G,l],brightness:S(),borderColor:[t],borderRadius:["none","","full",G,l],borderSpacing:v(),borderWidth:Le(),contrast:S(),grayscale:$(),hueRotate:S(),invert:$(),gap:v(),gradientColorStops:[t],gradientColorStopPositions:[qt,F],inset:ue(),margin:ue(),opacity:S(),padding:v(),saturate:S(),scale:S(),sepia:$(),skew:S(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ze(),l]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Y,l]}],basis:[{basis:ue()}],"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:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",Y,l]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",Y,l]},l]}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[Y,l]},l]}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],he:[{he:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],$e:[{$e:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Me]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,e]}],"min-w":[{"min-w":[l,e,"min","max","fit"]}],"max-w":[{"max-w":[l,e,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[l,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,e,"auto","min","max","fit"]}],"font-size":[{text:["base",G,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[X]}],"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",_,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"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:[...ze(),eo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:oe()}],"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:["",...oe()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,F]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",G,ro]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fe()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",G,l]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[m]}],saturate:[{saturate:[T]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[Y,l]}],"translate-x":[{"translate-x":[Ee]}],"translate-y":[{"translate-y":[Ee]}],"skew-x":[{"skew-x":[ee]}],"skew-y":[{"skew-y":[ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","B-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-$e":[{"scroll-$e":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-he":[{"scroll-he":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[M,F,fe]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","he","pr","pb","pl"],px:["pr","pl"],py:["he","pb"],m:["mx","my","ms","me","$e","mr","mb","ml"],mx:["mr","ml"],my:["$e","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-$e","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-$e","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-he","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-he","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Je=Qt(io);function p(...t){return Je((0,Ke.clsx)(t))}var $e=require("next/navigation"),B=require("react");function lo({external:t=!1,newTab:e=!1,scroll:o=!0}){let n=(0,$e.useRouter)(),a=(0,B.useRef)(null),r=(0,B.useRef)(null),s=(0,B.useRef)(0),i=(0,B.useRef)(!1),c=(0,B.useRef)(0),d=(0,B.useCallback)(m=>{if(m.target){let u=m.target,x=+new Date,C=u==null?void 0:u.closest("a");c.current=m.button,C?i.current=!0:(i.current=!1,s.current=x)}},[n,a,r,s]),g=(0,B.useCallback)(m=>{var u,x;if((u=r.current)!=null&&u.href){let b=+new Date-s.current;if((x=r.current)!=null&&x.href&&b<=250&&!i.current&&c.current===0&&!m.ctrlKey)if(t){let y=e?"_blank":"_self";window.open(r.current.href,y)}else n.push(r.current.href,{scroll:o})}},[n,a,r,s]);return(0,B.useEffect)(()=>{let m=a.current;return m&&(m.addEventListener("mousedown",d),m.addEventListener("mouseup",g)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",d),m==null||m.removeEventListener("mouseup",g))}},[a,r,n]),{card:{ref:a},link:{ref:r}}}var Ye=lo;var rt=z(require("next/link"));var qe=z(require("next/image")),he=require("react/jsx-runtime"),co={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Xe="data:image/png;base64,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",We=t=>{let{alt:e,fill:o,imgClassName:n,priority:a,resource:r,size:s,src:i,loading:c}=t,d,g,m=e,u=i||"";if(!u&&r&&typeof r=="object"){let{alt:b,filename:y,height:w,url:P,width:T}=r;d=T,g=w,m=b||"",u=P||Xe}let x=c||"lazy",C=s||Object.entries(co).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,he.jsx)("picture",{children:(0,he.jsx)(qe.default,{alt:m||"",className:p(n),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:Xe,priority:x!=="lazy"&&a,quality:100,loading:x,sizes:C,src:u,width:o?void 0:d})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var et=()=>{if(Ze){let t=window.location.protocol,e=window.location.hostname,o=window.location.port;return`${t}//${e}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var tt=t=>{let{onClick:e,resource:o,videoClassName:n}=t,a=(0,B.useRef)(null);if((0,B.useEffect)(()=>{let{current:r}=a;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,he.jsx)("video",{autoPlay:!0,className:p(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,he.jsx)("source",{src:`${et()}/media/${r}`})})}return null};var H=t=>{var s;let{className:e,htmlElement:o="div",resource:n}=t,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,he.jsx)(o||B.Fragment,{...o!==null?{className:e}:{},children:a?(0,he.jsx)(tt,{...t}):(0,he.jsx)(We,{...t})})};var we=t=>{let{card:e,link:o}=Ye({}),{className:n,doc:a,relationTo:r,showCategories:s,title:i}=t,{slug:c,categories:d,meta:g,title:m}=a||{},{description:u,image:x}=g||{},C=d&&Array.isArray(d)&&d.length>0,b=i||m,y=u==null?void 0:u.replace(/\s/g," "),w=`/${r}/${c}`;return(0,he.jsxs)("article",{className:p("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:e.ref,children:[(0,he.jsxs)("div",{className:"relative w-full ",children:[!x&&(0,he.jsx)("div",{className:"",children:"No image"}),x&&typeof x!="string"&&(0,he.jsx)(H,{resource:x,size:"33vw"})]}),(0,he.jsxs)("div",{className:"p-4",children:[s&&C&&(0,he.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&C&&(0,he.jsx)("div",{children:d==null?void 0:d.map((P,T)=>{if(typeof P=="object"){let{title:I}=P,Q=I||"Untitled category",ee=T===d.length-1;return(0,he.jsxs)(B.Fragment,{children:[Q,!ee&&(0,he.jsx)(B.Fragment,{children:", \xA0"})]},T)}return null})})}),b&&(0,he.jsx)("div",{className:"prose",children:(0,he.jsx)("h3",{children:(0,he.jsx)(rt.default,{className:"not-prose",href:w,ref:o.ref,children:b})})}),u&&(0,he.jsx)("div",{className:"$e-2",children:u&&(0,he.jsx)("p",{children:y})})]})]})};var po=t=>{let{posts:e}=t;return(0,he.jsx)("div",{className:p("container"),children:(0,he.jsx)("div",{children:(0,he.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:e==null?void 0:e.map((o,n)=>typeof o=="object"&&o!==null?(0,he.jsx)("div",{className:"col-span-4",children:(0,he.jsx)(we,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},n):null)})})})};var nt=require("@radix-ui/react-slot"),at=require("class-variance-authority"),st=z(require("react")),ke=(0,at.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"}}}),q=st.forwardRef(({asChild:t=!1,className:e,size:o,variant:n,...a},r)=>(0,he.jsx)(t?nt.Slot:"button",{className:p(ke({className:e,size:o,variant:n})),ref:r,...a}));q.displayName="Button";var Ce=z(require("next/link")),Z=t=>{let{type:e,appearance:o="inline",children:n,className:a,label:r,newTab:s,reference:i,size:c,url:d}=t,g=e==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:d;if(!g)return null;let m=o==="link"?"clear":c,u=s?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,he.jsxs)(Ce.default,{className:p(a),href:g||d||"",...u,children:[r&&r,n&&n]}):(0,he.jsx)(q,{asChild:!0,className:a,size:m,variant:o,children:(0,he.jsxs)(Ce.default,{className:p(a),href:g||d||"",...u,children:[r&&r,n&&n]})})};var lt=z(require("clsx")),ct=z(require("next/image")),mo=t=>{let{loading:e,priority:o,className:n}=t;return(0,he.jsx)(ct.default,{alt:"Payload Logo",width:193,height:34,loading:e||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,lt.default)("max-w-[9.375rem] w-full h-[34px]",n),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var uo={plural:"Docs",singular:"Doc"},go={posts:{plural:"Posts",singular:"Post"}},fo=t=>{let{className:e,collection:o,collectionLabels:n,currentPage:a,limit:r,totalDocs:s}=t,i=(a?a-1:1)*(r||1)+1;s&&i>s&&(i=0);let c=(a||1)*(r||1);s&&c>s&&(c=s);let{plural:d,singular:g}=n||go[o||""]||uo||{};return(0,he.jsxs)("div",{className:[e,"font-semibold"].filter(Boolean).join(" "),children:[(typeof s=="undefined"||s===0)&&"Search produced no results.",typeof s!="undefined"&&s>0&&`Showing ${i}${i>0?` - ${c}`:""} of ${s} ${s>1?d:g}`]})};var K=require("lucide-react"),Pe=z(require("react")),Ae=({className:t,...e})=>(0,he.jsx)("nav",{"aria-label":"pagination",className:p("mx-auto flex w-full justify-center",t),role:"navigation",...e});Ae.displayName="Pagination";var Ne=Pe.forwardRef(({className:t,...e},o)=>(0,he.jsx)("ul",{className:p("flex flex-row items-center gap-1",t),ref:o,...e}));Ne.displayName="PaginationContent";var E=Pe.forwardRef(({className:t,...e},o)=>(0,he.jsx)("li",{className:p("",t),ref:o,...e}));E.displayName="PaginationItem";var O=({className:t,isActive:e,size:o="icon",...n})=>(0,he.jsx)("button",{"aria-current":e?"page":void 0,className:p(ke({size:o,variant:e?"outline":"ghost"}),t),...n});O.displayName="PaginationLink";var Re=({className:t,...e})=>(0,he.jsxs)(O,{"aria-label":"Go to previous page",className:p("gap-1 pl-2.5",t),size:"default",...e,children:[(0,he.jsx)(K.ChevronLeft,{className:"h-4 w-4"}),(0,he.jsx)("span",{children:"Previous"})]});Re.displayName="PaginationPrevious";var Be=({className:t,...e})=>(0,he.jsxs)(O,{"aria-label":"Go to next page",className:p("gap-1 pr-2.5",t),size:"default",...e,children:[(0,he.jsx)("span",{children:"Next"}),(0,he.jsx)(K.ChevronRight,{className:"h-4 w-4"})]});Be.displayName="PaginationNext";var se=({className:t,...e})=>(0,he.jsxs)("span",{"aria-hidden":!0,className:p("flex h-9 w-9 items-center justify-center",t),...e,children:[(0,he.jsx)(K.MoreHorizontal,{className:"h-4 w-4"}),(0,he.jsx)("span",{className:"sr-only",children:"More pages"})]});se.displayName="PaginationEllipsis";var bo=t=>{let e=(0,$e.useRouter)(),{className:o,page:n,totalPages:a}=t,r=n<a,s=n>1,i=n-1>1,c=n+1<a;return(0,he.jsx)("div",{className:p("my-12",o),children:(0,he.jsx)(Ae,{children:(0,he.jsxs)(Ne,{children:[(0,he.jsx)(E,{children:(0,he.jsx)(Re,{disabled:!s,onClick:()=>{e.push(`/posts/page/${n-1}`)}})}),i&&(0,he.jsx)(E,{children:(0,he.jsx)(se,{})}),s&&(0,he.jsx)(E,{children:(0,he.jsx)(O,{onClick:()=>{e.push(`/posts/page/${n-1}`)},children:n-1})}),(0,he.jsx)(E,{children:(0,he.jsx)(O,{isActive:!0,onClick:()=>{e.push(`/posts/page/${n}`)},children:n})}),r&&(0,he.jsx)(E,{children:(0,he.jsx)(O,{onClick:()=>{e.push(`/posts/page/${n+1}`)},children:n+1})}),c&&(0,he.jsx)(E,{children:(0,he.jsx)(se,{})}),(0,he.jsx)(E,{children:(0,he.jsx)(Be,{disabled:!r,onClick:()=>{e.push(`/posts/page/${n+1}`)}})})]})})})};var ut=({className:t,content:e,style:o})=>(0,he.jsx)("div",{className:p("mx-auto my-8 w-full",t),children:(0,he.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,he.jsx)(U,{content:e,enableGutter:!1,enableProse:!1})})});var gt=({links:t,richText:e})=>(0,he.jsx)("div",{className:"container",children:(0,he.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,he.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,he.jsx)(U,{className:"mb-0",content:e,enableGutter:!1})}),(0,he.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},n)=>(0,he.jsx)(Z,{size:"lg",...o},n))})]})});var le=require("prism-react-renderer");function yt({code:t}){let[e,o]=(0,B.useState)("Copy");function n(){e==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,he.jsx)("div",{className:"flex justify-end align-middle",children:(0,he.jsxs)(q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,he.jsx)("p",{children:e}),(0,he.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,he.jsx)(K.ClipboardCopy,{})})]})})}var ht=({code:t,language:e=""})=>t?(0,he.jsx)(le.Highlight,{code:t,language:e,theme:le.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:a})=>(0,he.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((r,s)=>(0,he.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,he.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,he.jsx)("span",{className:"table-cell pl-4",children:r.map((i,c)=>(0,he.jsx)("span",{...n({token:i})},c))})]},s)),(0,he.jsx)(yt,{code:t})]})}):null;var vt=({className:t,code:e,language:o})=>(0,he.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,he.jsx)(ht,{code:e,language:o})});var xt=t=>{let{className:e,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=t;return(0,he.jsx)("div",{className:p("",{container:o},e),children:(0,he.jsx)(H,{imgClassName:p("border border-border rounded-[0.8rem]",n),resource:a,src:r})})};var wt=t=>{let{className:e,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=t;return(0,he.jsx)("div",{className:p("",{container:o},e),children:(0,he.jsx)(H,{imgClassName:p("border border-border rounded-[0.8rem]",n),resource:a,src:r})})};var kt=({title:t,description:e,features:o,id:n})=>(0,he.jsxs)("section",{className:p("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,he.jsx)("h2",{className:"mb-6 $e-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,he.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,he.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,he.jsx)(U,{content:e,enableGutter:!1})}),(0,he.jsx)("div",{className:`grid gap-8 $e-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,r)=>{let s=(0,he.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,he.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,he.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,he.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,he.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,he.jsx)("div",{className:"text-lg opacity-80",children:(0,he.jsx)(U,{content:a.content,enableGutter:!1})})]},r);return a.link?(0,he.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},r):s})})]});var pe=z(require("react"));function ce({nodes:t}){return(0,he.jsx)(pe.Fragment,{children:t==null?void 0:t.map((e,o)=>{if(e==null)return null;if(e.type==="text"){let r=(0,he.jsx)(pe.default.Fragment,{children:e.text},o);return e.format&1&&(r=(0,he.jsx)("strong",{children:r},o)),e.format&2&&(r=(0,he.jsx)("em",{children:r},o)),e.format&4&&(r=(0,he.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),e.format&8&&(r=(0,he.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),e.format&16&&(r=(0,he.jsx)("code",{children:e.text},o)),e.format&32&&(r=(0,he.jsx)("sub",{children:r},o)),e.format&64&&(r=(0,he.jsx)("sup",{children:r},o)),r}if(e.type==="table")return(0,he.jsx)("table",{children:(0,he.jsx)("tbody",{children:e.children.map((r,s)=>(0,he.jsx)("tr",{children:r.children.map((i,c)=>(0,he.jsx)("td",{children:ce({nodes:i.children})},c))},s))})},o);let n=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let s of r.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return ce({nodes:r.children})},a="children"in e?n(e):"";if(e.type==="block"){let r=e.fields,s=r==null?void 0:r.blockType;if(!r||!s)return null;switch(s){case"cta":return(0,he.jsx)(gt,{...r},o);case"mediaBlock":return(0,he.jsx)(xt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,he.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,he.jsx)(ut,{className:"col-start-2 mb-4",...r},o);case"code":return(0,he.jsx)(vt,{className:"col-start-2",...r},o);case"features":return(0,he.jsx)(kt,{...r},o);default:return null}}else switch(e.type){case"linebreak":return(0,he.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,he.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let r=e==null?void 0:e.tag;return(0,he.jsx)(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},o)}case"list":{let r=e==null?void 0:e.tag;return(0,he.jsx)(r,{className:"list col-start-2",children:a},o)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,he.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},o):(0,he.jsx)("li",{value:e==null?void 0:e.value,children:a},o);case"quote":return(0,he.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let r=e.fields;return(0,he.jsx)(Z,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}default:return null}})})}var U=({className:t,content:e,enableGutter:o=!0,enableProse:n=!0})=>{var a;return e?(0,he.jsx)("div",{className:p({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&ce({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../chunk-MANZDSTF.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-32GGKWGB.mjs";import"../../chunk-V7LBBZKS.mjs";import{a as d}from"../../chunk-423OEU3K.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-
|
|
1
|
+
import{a as e}from"../../chunk-MANZDSTF.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-32GGKWGB.mjs";import"../../chunk-V7LBBZKS.mjs";import{a as d}from"../../chunk-423OEU3K.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-LCWZZNZR.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-NWW7KWJK.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-HUN2X4VH.mjs";import{a as b}from"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};
|