cortex-react-components 1.56.0 → 1.56.2
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-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-BXIDYE67.mjs → chunk-2GM7CZWD.mjs} +1 -1
- package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-GYUMEOL2.mjs → chunk-2SU53XDR.mjs} +1 -1
- package/dist/{chunk-FYVORNBL.mjs → chunk-3KLULH4N.mjs} +1 -1
- package/dist/{chunk-GGDYYSFG.mjs → chunk-44AJHLZU.mjs} +1 -1
- package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-HQOFQGRQ.mjs → chunk-4TUDI7KG.mjs} +1 -1
- package/dist/{chunk-WMVRW4SF.mjs → chunk-5V2ANAIN.mjs} +1 -1
- package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
- package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-W5IV2HHX.mjs → chunk-7CLTFO4T.mjs} +1 -1
- package/dist/{chunk-BWRPSU6I.mjs → chunk-7US5HSR6.mjs} +1 -1
- package/dist/{chunk-OXFWH45D.mjs → chunk-AWF6XNYF.mjs} +1 -1
- package/dist/{chunk-KVA4UPK2.mjs → chunk-AZKUFDXP.mjs} +1 -1
- package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
- package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
- package/dist/{chunk-KQJLOUAU.mjs → chunk-D7A7EUEW.mjs} +1 -1
- package/dist/{chunk-IJT4XHN7.mjs → chunk-EB5N4KMF.mjs} +1 -1
- package/dist/{chunk-EML6AVUM.mjs → chunk-FKXXS744.mjs} +1 -1
- package/dist/chunk-FP5DGSVT.mjs +1 -0
- package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
- package/dist/{chunk-JXPOV3A4.mjs → chunk-IGCJJKUY.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/{chunk-KIAZOHM4.mjs → chunk-IR3E4BOR.mjs} +1 -1
- package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
- package/dist/{chunk-TV6WUXSN.mjs → chunk-KFSXGAAX.mjs} +1 -1
- package/dist/{chunk-S66RCEAN.mjs → chunk-KLNVCVT5.mjs} +1 -1
- package/dist/{chunk-IS27WYEV.mjs → chunk-LXHSPBVT.mjs} +1 -1
- package/dist/{chunk-UUQ4YJSJ.mjs → chunk-NW5BVAKO.mjs} +1 -1
- package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
- package/dist/{chunk-OUF4RW7E.mjs → chunk-Q5ID5CRA.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-MIWMERSR.mjs → chunk-QRKTZ7BP.mjs} +1 -1
- package/dist/{chunk-26K34DNO.mjs → chunk-R2TZLS6H.mjs} +1 -1
- package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
- package/dist/{chunk-EOVMD5QE.mjs → chunk-RR4ZDHMW.mjs} +1 -1
- package/dist/{chunk-LLJZRF3C.mjs → chunk-S7I4XJS6.mjs} +1 -1
- package/dist/{chunk-C2WXWFU6.mjs → chunk-T4H7GMGO.mjs} +1 -1
- package/dist/{chunk-TT3GBHBO.mjs → chunk-TJXZHZ4B.mjs} +1 -1
- package/dist/{chunk-7IZ2X75V.mjs → chunk-TZE7RZAV.mjs} +1 -1
- package/dist/{chunk-S3GITHJW.mjs → chunk-VJ5BKDBD.mjs} +1 -1
- package/dist/{chunk-EEKDSPJW.mjs → chunk-WSR7WXCF.mjs} +1 -1
- package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.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/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +3 -3
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +5 -5
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- 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 +189 -189
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +4 -4
- 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/BlogList.js +3 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +3 -3
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.js +1 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-OIIEDD56.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"../../chunk-3TVLETYW.mjs";import{c as e}from"../../chunk-
|
|
1
|
+
import{b as t}from"../../chunk-3TVLETYW.mjs";import{c as e}from"../../chunk-FP5DGSVT.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},m={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,u as MoreOptions,y as NoIcon,m as NoTitle,p as OneFeature,d as OtherOptions,h as ThreeCards,g as TwoFeatures,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ImageBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-RJGKFNZL.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as MediaBlock};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var ut=Object.create;var ee=Object.defineProperty;var gt=Object.getOwnPropertyDescriptor;var ft=Object.getOwnPropertyNames;var bt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var ht=(e,t)=>{for(var o in t)ee(e,o,{get:t[o],enumerable:!0})},Re=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ft(t))!yt.call(e,s)&&s!==o&&ee(e,s,{get:()=>t[s],enumerable:!(n=gt(t,s))||n.enumerable});return e};var H=(e,t,o)=>(o=e!=null?ut(bt(e)):{},Re(t||!e||!e.__esModule?ee(o,"default",{value:e,enumerable:!0}):o,e)),xt=e=>Re(ee({},"__esModule",{value:!0}),e);var rr={};ht(rr,{RelatedPosts:()=>tr});module.exports=xt(rr);var mt=H(require("clsx"));var Le=require("clsx");var me="-",vt=e=>{let t=kt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(me);return a[0]===""&&a.length!==1&&a.shift(),Ie(a,t)||wt(l)},getConflictingClassGroupIds:(l,a)=>{let i=o[l]||[];return a&&n[l]?[...i,...n[l]]:i}}},Ie=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],n=t.nextPart.get(o),s=n?Ie(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(me);return(l=t.validators.find(({validator:a})=>a(r)))==null?void 0:l.classGroupId},Be=/^\[(.+)\]$/,wt=e=>{if(Be.test(e)){let t=Be.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},kt=e=>{let{theme:t,prefix:o}=e,n={nextPart:new Map,validators:[]};return At(Object.entries(e.classGroups),o).forEach(([r,l])=>{pe(l,n,r,t)}),n},pe=(e,t,o,n)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:Te(t,s);r.classGroupId=o;return}if(typeof s=="function"){if(Ct(s)){pe(s(n),t,o,n);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,l])=>{pe(l,Te(t,r),o,n)})})},Te=(e,t)=>{let o=e;return t.split(me).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},Ct=e=>e.isThemeGetter,At=(e,t)=>t?e.map(([o,n])=>{let s=n.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([l,a])=>[t+l,a])):r);return[o,s]}):e,Nt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,n=new Map,s=(r,l)=>{o.set(r,l),t++,t>e&&(t=0,n=o,o=new Map)};return{get(r){let l=o.get(r);if(l!==void 0)return l;if((l=n.get(r))!==void 0)return s(r,l),l},set(r,l){o.has(r)?o.set(r,l):s(r,l)}}},Se="!",Pt=e=>{let{separator:t,experimentalParseClassName:o}=e,n=t.length===1,s=t[0],r=t.length,l=a=>{let i=[],c=0,g=0,d;for(let y=0;y<a.length;y++){let w=a[y];if(c===0){if(w===s&&(n||a.slice(y,y+r)===t)){i.push(a.slice(g,y)),g=y+r;continue}if(w==="/"){d=y;continue}}w==="["?c++:w==="]"&&c--}let m=i.length===0?a:a.substring(g),v=m.startsWith(Se),C=v?m.substring(1):m,b=d&&d>g?d-g:void 0;return{modifiers:i,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:b}};return o?a=>o({className:a,parseClassName:l}):l},Rt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(n=>{n[0]==="["?(t.push(...o.sort(),n),o=[]):o.push(n)}),t.push(...o.sort()),t},Bt=e=>({cache:Nt(e.cacheSize),parseClassName:Pt(e),...vt(e)}),Tt=/\s+/,It=(e,t)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:s}=t,r=[],l=e.trim().split(Tt),a="";for(let i=l.length-1;i>=0;i-=1){let c=l[i],{modifiers:g,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:v}=o(c),C=!!v,b=n(C?m.substring(0,v):m);if(!b){if(!C){a=c+(a.length>0?" "+a:a);continue}if(b=n(m),!b){a=c+(a.length>0?" "+a:a);continue}C=!1}let y=Rt(g).join(":"),w=d?y+Se:y,A=w+b;if(r.includes(A))continue;r.push(A);let R=s(b,C);for(let P=0;P<R.length;++P){let U=R[P];r.push(w+U)}a=c+(a.length>0?" "+a:a)}return a};function St(){let e=0,t,o,n="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Me(t))&&(n&&(n+=" "),n+=o);return n}var Me=e=>{if(typeof e=="string")return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=Me(e[n]))&&(o&&(o+=" "),o+=t);return o};function Mt(e,...t){let o,n,s,r=l;function l(i){let c=t.reduce((g,d)=>d(g),e());return o=Bt(c),n=o.cache.get,s=o.cache.set,r=a,a(i)}function a(i){let c=n(i);if(c)return c;let g=It(i,o);return s(i,g),g}return function(){return r(St.apply(null,arguments))}}var h=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},ze=/^\[(?:([a-te-]+):)?(.+)\]$/i,zt=/^\d+\/\d+$/,Et=new Set(["px","full","screen"]),Ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Lt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gt=/^(inset_)?-?((\d+)?\.?(\d+)[a-te]+|0)_-?((\d+)?\.?(\d+)[a-te]+|0)/,Ut=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>j(e)||Et.has(e)||zt.test(e),E=e=>O(e,"length",Kt),j=e=>!!e&&!Number.isNaN(Number(e)),de=e=>O(e,"number",j),J=e=>!!e&&Number.isInteger(Number(e)),Ht=e=>e.endsWith("%")&&j(e.slice(0,-1)),p=e=>ze.test(e),F=e=>Ft.test(e),jt=new Set(["length","size","percentage"]),Ot=e=>O(e,jt,Ee),Vt=e=>O(e,"position",Ee),Qt=new Set(["image","url"]),_t=e=>O(e,Qt,Xt),Jt=e=>O(e,"",Yt),K=()=>!0,O=(e,t,o)=>{let n=ze.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):o(n[2]):!1},Kt=e=>Lt.test(e)&&!Dt.test(e),Ee=()=>!1,Yt=e=>Gt.test(e),Xt=e=>Ut.test(e);var qt=()=>{let e=h("colors"),t=h("spacing"),o=h("blur"),n=h("brightness"),s=h("borderColor"),r=h("borderRadius"),l=h("borderSpacing"),a=h("borderWidth"),i=h("contrast"),c=h("grayscale"),g=h("hueRotate"),d=h("invert"),m=h("gap"),v=h("gradientColorStops"),C=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),w=h("opacity"),A=h("padding"),R=h("saturate"),P=h("scale"),U=h("sepia"),W=h("skew"),we=h("space"),ke=h("translate"),ae=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto",p,t],k=()=>[p,t],Ce=()=>["",S,E],Z=()=>["auto",j,p],Ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",p],Pe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[j,p];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[S,E],blur:["none","",F,p],brightness:I(),borderColor:[e],borderRadius:["none","","full",F,p],borderSpacing:k(),borderWidth:Ce(),contrast:I(),grayscale:_(),hueRotate:I(),invert:_(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Ht,E],inset:ie(),margin:ie(),opacity:I(),padding:k(),saturate:I(),scale:I(),sepia:_(),skew:I(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Pe()}],"break-before":[{"break-before":Pe()}],"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:[...Ae(),p]}],overflow:[{overflow:le()}],"overflow-te":[{"overflow-te":le()}],"overflow-y":[{"overflow-y":le()}],overscroll:[{overscroll:ae()}],"overscroll-te":[{"overscroll-te":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-te":[{"inset-te":[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"],te:[{te:["auto",J,p]}],basis:[{basis:ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",J,p]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",J,p]},p]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[J,p]},p]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[m]}],"gap-te":[{"gap-te":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],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-te":[{"space-te":[we]}],"space-te-reverse":["space-te-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",F,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",de]}],"font-family":[{font:[K]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",j,de]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,E]}],"underline-offset":[{"underline-offset":["auto",S,p]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"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:[...Ae(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","te","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ot]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],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:[a]}],"border-w-te":[{"border-te":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...$(),"hidden"]}],"divide-te":[{"divide-te":[a]}],"divide-te-reverse":["divide-te-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:$()}],"border-color":[{border:[s]}],"border-color-te":[{"border-te":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[S,p]}],"outline-w":[{outline:[S,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[S,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,Jt]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ne()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",F,p]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[d]}],saturate:[{saturate:[R]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-te":[{"border-spacing-te":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-te":[{"scale-te":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[J,p]}],"translate-te":[{"translate-te":[ke]}],"translate-y":[{"translate-y":[ke]}],"skew-te":[{"skew-te":[W]}],"skew-y":[{"skew-y":[W]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","te-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","te",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","te","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-te":[{"touch-pan":["te","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",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,E,de]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-te","overflow-y"],overscroll:["overscroll-te","overscroll-y"],inset:["inset-te","inset-y","start","end","top","right","bottom","left"],"inset-te":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-te","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-te","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-te":["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-te":["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-te","touch-y","touch-pz"],"touch-te":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Fe=Mt(qt);function u(...e){return Fe((0,Le.clsx)(e))}var te=require("react/jsx-runtime"),De=({className:e,content:t,style:o})=>(0,te.jsx)("div",{className:u("mx-auto my-8 w-full",e),children:(0,te.jsx)("div",{className:u("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,te.jsx)(T,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=require("@radix-ui/react-slot"),Ue=require("class-variance-authority"),He=H(require("react")),Wt=(0,Ue.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),D=He.forwardRef(({asChild:e=!1,className:t,size:o,variant:n,...s},r)=>(0,te.jsx)(e?Ge.Slot:"button",{className:u(Wt({className:t,size:o,variant:n})),ref:r,...s}));D.displayName="Button";var ue=H(require("next/link")),X=e=>{let{type:t,appearance:o="inline",children:n,className:s,label:r,newTab:l,reference:a,size:i,url:c}=e,g=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:c;if(!g)return null;let d=o==="link"?"clear":i,m=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,te.jsxs)(ue.default,{className:u(s),href:g||c||"",...m,children:[r&&r,n&&n]}):(0,te.jsx)(D,{asChild:!0,className:s,size:d,variant:o,children:(0,te.jsxs)(ue.default,{className:u(s),href:g||c||"",...m,children:[r&&r,n&&n]})})};var Oe=({links:e,richText:t})=>(0,te.jsx)("div",{className:"container",children:(0,te.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,te.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,te.jsx)(T,{className:"mb-0",content:t,enableGutter:!1})}),(0,te.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},n)=>(0,te.jsx)(X,{size:"lg",...o},n))})]})});var re=require("prism-react-renderer");var Ve=require("lucide-react"),Qe=require("react");function _e({code:e}){let[t,o]=(0,Qe.useState)("Copy");function n(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,te.jsx)("div",{className:"flex justify-end align-middle",children:(0,te.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,te.jsx)("p",{children:t}),(0,te.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,te.jsx)(Ve.ClipboardCopy,{})})]})})}var Je=({code:e,language:t=""})=>e?(0,te.jsx)(re.Highlight,{code:e,language:t,theme:re.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:s})=>(0,te.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-te-auto",children:[s.map((r,l)=>(0,te.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,te.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,te.jsx)("span",{className:"table-cell pl-4",children:r.map((a,i)=>(0,te.jsx)("span",{...n({token:a})},i))})]},l)),(0,te.jsx)(_e,{code:e})]})}):null;var Ke=({className:e,code:t,language:o})=>(0,te.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,te.jsx)(Je,{code:t,language:o})});var Xe=H(require("next/image")),Zt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ye="data:image/png;base64,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",qe=e=>{let{alt:t,fill:o,imgClassName:n,priority:s,resource:r,size:l,src:a,loading:i}=e,c,g,d=t,m=a||"";if(!m&&r&&typeof r=="object"){let{alt:b,filename:y,height:w,url:A,width:R}=r;if(w&&w>500){let P=500/w;c=R*P,g=w*P}else c=R,g=w;d=b||"",m=A||Ye}let v=i||"lazy",C=l||Object.entries(Zt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,te.jsx)("picture",{children:(0,te.jsx)(Xe.default,{alt:d||"",className:u(n),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:Ye,priority:v!=="lazy"&&s,quality:100,loading:v,sizes:C,src:m,width:o?void 0:c})})};var We=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ze=()=>{if(We){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var $e=e=>{let{onClick:t,resource:o,videoClassName:n}=e,s=(0,Qe.useRef)(null);if((0,Qe.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,te.jsx)("video",{autoPlay:!0,className:u(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,te.jsx)("source",{src:`${Ze()}/media/${r}`})})}return null};var V=e=>{var l;let{className:t,htmlElement:o="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,te.jsx)(o||Qe.Fragment,{...o!==null?{className:t}:{},children:s?(0,te.jsx)($e,{...e}):(0,te.jsx)(qe,{...e})})};var tt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:s,staticImage:r}=e;return(0,te.jsx)("div",{className:u("h-full ",{container:o},t),children:(0,te.jsx)(V,{imgClassName:u("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:r})})};var rt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:s,staticImage:r}=e;return(0,te.jsx)("div",{className:u("",{container:o},t),children:(0,te.jsx)(V,{imgClassName:u("rounded-[0.8rem]",n),resource:s,src:r})})};var xe=({type:e="solid",iconName:t="cloud",size:o="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,l=n!=null?n:"",a=s+r+" fa-"+o+" "+l;return(0,te.jsx)("i",{className:a})};function nt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function st({variant:e="outline",className:t,icon:o,iconSize:n="large",width:s="auto",order:r=0,heading:l,subheading:a,content:i,statistic:c,buttonText:g,buttonHref:d}){let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},v={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,te.jsxs)("div",{className:u("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",m[e],e==="outline"?"text-gray-900":"text-white",t,v[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[(0,te.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,te.jsx)($t,{icon:o,heading:l,variant:e,iconSize:n})}),c&&(0,te.jsx)("div",{className:"mb-6",children:(0,te.jsx)("div",{className:u("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:c})}),a&&(0,te.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),i&&typeof i=="object"&&(0,te.jsx)("div",{className:u("space-y-6"),children:(0,te.jsx)(T,{enableGutter:!1,content:i,enableProse:!1,className:u(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),i&&typeof i=="string"&&(0,te.jsx)("div",{className:u("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:i}),g&&(0,te.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,te.jsx)(D,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,te.jsx)("a",{href:d,children:g})})}),e==="radial"&&(0,te.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var $t=({icon:e,heading:t,variant:o,iconSize:n})=>e&&n==="small"?(0,te.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[nt(e)&&(0,te.jsx)("div",{className:u("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,te.jsx)(xe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,te.jsx)("div",{className:u("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,te.jsxs)("div",{className:"flex flex-col gap-4",children:[nt(e)&&(0,te.jsx)("div",{className:u("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,te.jsx)(xe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,te.jsx)("h3",{className:u("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,te.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,te.jsx)("div",{className:u("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var at=({title:e,description:t,features:o,id:n,nested:s=!1})=>(0,te.jsxs)("section",{className:u(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,te.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,te.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,te.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,te.jsx)(T,{content:t,enableGutter:!1})}),(0,te.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((r,l)=>{var i,c,g,d,m;let a=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return(0,te.jsx)(st,{variant:((i=r.settings)==null?void 0:i.card)==="default"?"light":((c=r.settings)==null?void 0:c.card)||"outline",icon:a()||void 0,iconSize:((g=r.settings)==null?void 0:g.iconSize)||"large",width:"auto",order:l,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(d=r.link)!=null&&d.url?"Find out more":void 0,buttonHref:((m=r.link)==null?void 0:m.url)||void 0},l)})})]});var se=H(require("react"));function q({nodes:e}){return(0,te.jsx)(se.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,te.jsx)(se.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,te.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,te.jsx)("em",{children:r},o)),t.format&4&&(r=(0,te.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,te.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,te.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,te.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,te.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,te.jsx)("table",{children:(0,te.jsx)("tbody",{children:t.children.map((r,l)=>(0,te.jsx)("tr",{children:r.children.map((a,i)=>(0,te.jsx)("td",{children:q({nodes:a.children})},i))},l))})},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 l of r.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return q({nodes:r.children})},s="children"in t?n(t):"";if(t.type==="block"){let r=t.fields,l=r==null?void 0:r.blockType;if(!r||!l)return null;switch(l){case"cta":return(0,te.jsx)(Oe,{...r},o);case"mediaBlock":return(0,te.jsx)(tt,{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,te.jsx)(rt,{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,te.jsx)(De,{className:"col-start-2 mb-4",...r},o);case"code":return(0,te.jsx)(Ke,{className:"col-start-2",...r},o);case"features":return(0,te.jsx)(at,{...r,nested:!0},o);case"reusableContentBlock":q({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,te.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,te.jsx)("p",{className:"col-start-2",children:s},o);case"heading":{let r=t==null?void 0:t.tag;return(0,te.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},o)}case"list":{let r=t==null?void 0:t.tag;return(0,te.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,te.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},o):(0,te.jsx)("li",{value:t==null?void 0:t.value,children:s},o);case"quote":return(0,te.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,te.jsx)(X,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}case"autolink":{let r=t.fields;return(0,te.jsx)(X,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var T=({className:e,content:t,enableGutter:o=!0,enableProse:n=!0})=>{var s;return t?(0,te.jsx)("div",{className:u({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&q({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var it=require("next/navigation");function er({external:e=!1,newTab:t=!1,scroll:o=!0}){let n=(0,it.useRouter)(),s=(0,Qe.useRef)(null),r=(0,Qe.useRef)(null),l=(0,Qe.useRef)(0),a=(0,Qe.useRef)(!1),i=(0,Qe.useRef)(0),c=(0,Qe.useCallback)(d=>{if(d.target){let m=d.target,v=+new Date,C=m==null?void 0:m.closest("a");i.current=d.button,C?a.current=!0:(a.current=!1,l.current=v)}},[n,s,r,l]),g=(0,Qe.useCallback)(d=>{var m,v;if((m=r.current)!=null&&m.href){let b=+new Date-l.current;if((v=r.current)!=null&&v.href&&b<=250&&!a.current&&i.current===0&&!d.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(r.current.href,y)}else n.push(r.current.href,{scroll:o})}},[n,s,r,l]);return(0,Qe.useEffect)(()=>{let d=s.current;return d&&(d.addEventListener("mousedown",c),d.addEventListener("mouseup",g)),()=>{d&&d&&(d==null||d.removeEventListener("mousedown",c),d==null||d.removeEventListener("mouseup",g))}},[s,r,n]),{card:{ref:s},link:{ref:r}}}var ct=er;var dt=H(require("next/link"));var pt=e=>{let{card:t,link:o}=ct({}),{className:n,doc:s,relationTo:r,showCategories:l,title:a}=e,{slug:i,categories:c,meta:g,title:d}=s||{},{description:m,image:v}=g||{},C=c&&Array.isArray(c)&&c.length>0,b=a||d,y=m==null?void 0:m.replace(/\s/g," "),w=`/${r}/${i}`;return(0,te.jsxs)("article",{className:u("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:t.ref,children:[(0,te.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,te.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,te.jsx)(V,{resource:v,size:"33vw"})]}),(0,te.jsxs)("div",{className:"p-4",children:[l&&C&&(0,te.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&C&&(0,te.jsx)("div",{children:c==null?void 0:c.map((A,R)=>{if(typeof A=="object"){let{title:P}=A,U=P||"Untitled category",W=R===c.length-1;return(0,te.jsxs)(Qe.Fragment,{children:[U,!W&&(0,te.jsx)(Qe.Fragment,{children:", \xA0"})]},R)}return null})})}),b&&(0,te.jsx)("div",{className:"prose",children:(0,te.jsx)("h3",{children:(0,te.jsx)(dt.default,{className:"not-prose",href:w,ref:o.ref,children:b})})}),m&&(0,te.jsx)("div",{className:"mt-2",children:m&&(0,te.jsx)("p",{children:y})})]})]})};var tr=e=>{let{className:t,docs:o,introContent:n}=e;return(0,te.jsxs)("div",{className:(0,mt.default)("container",t),children:[n&&(0,te.jsx)(T,{content:n,enableGutter:!1}),(0,te.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:o==null?void 0:o.map((s,r)=>typeof s=="string"?null:(0,te.jsx)(pt,{doc:s,relationTo:"posts",showCategories:!0},r))})]})};0&&(module.exports={RelatedPosts});
|
|
4
|
+
"use strict";var fr=Object.create;var ee=Object.defineProperty;var gr=Object.getOwnPropertyDescriptor;var br=Object.getOwnPropertyNames;var yr=Object.getPrototypeOf,hr=Object.prototype.hasOwnProperty;var xr=(e,r)=>{for(var t in r)ee(e,t,{get:r[t],enumerable:!0})},Re=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of br(r))!hr.call(e,s)&&s!==t&&ee(e,s,{get:()=>r[s],enumerable:!(n=gr(r,s))||n.enumerable});return e};var D=(e,r,t)=>(t=e!=null?fr(yr(e)):{},Re(r||!e||!e.__esModule?ee(t,"default",{value:e,enumerable:!0}):t,e)),vr=e=>Re(ee({},"__esModule",{value:!0}),e);var ot={};xr(ot,{RelatedPosts:()=>tt});module.exports=vr(ot);var ur=D(require("clsx"));var De=require("clsx");var me="-",wr=e=>{let r=Cr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let l=a.split(me);return l[0]===""&&l.length!==1&&l.shift(),Se(l,r)||kr(a)},getConflictingClassGroupIds:(a,l)=>{let d=t[a]||[];return l&&n[a]?[...d,...n[a]]:d}}},Se=(e,r)=>{var a;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),s=n?Se(e.slice(1),n):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(me);return(a=r.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Te=/^\[(.+)\]$/,kr=e=>{if(Te.test(e)){let r=Te.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Cr=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return Ar(Object.entries(e.classGroups),t).forEach(([o,a])=>{pe(a,n,o,r)}),n},pe=(e,r,t,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:Ie(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(Nr(s)){pe(s(n),r,t,n);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,a])=>{pe(a,Ie(r,o),t,n)})})},Ie=(e,r)=>{let t=e;return r.split(me).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},Nr=e=>e.isThemeGetter,Ar=(e,r)=>r?e.map(([t,n])=>{let s=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[r+a,l])):o);return[t,s]}):e,Pr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,s=(o,a)=>{t.set(o,a),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let a=t.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){t.has(o)?t.set(o,a):s(o,a)}}},Me="!",Br=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,s=r[0],o=r.length,a=l=>{let d=[],p=0,f=0,c;for(let y=0;y<l.length;y++){let v=l[y];if(p===0){if(v===s&&(n||l.slice(y,y+o)===r)){d.push(l.slice(f,y)),f=y+o;continue}if(v==="/"){c=y;continue}}v==="["?p++:v==="]"&&p--}let u=d.length===0?l:l.substring(f),k=u.startsWith(Me),C=k?u.substring(1):u,b=c&&c>f?c-f:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:C,maybePostfixModifierPosition:b}};return t?l=>t({className:l,parseClassName:a}):a},Rr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},Tr=e=>({cache:Pr(e.cacheSize),parseClassName:Br(e),...wr(e)}),Ir=/\s+/,Sr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:s}=r,o=[],a=e.trim().split(Ir),l="";for(let d=a.length-1;d>=0;d-=1){let p=a[d],{modifiers:f,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:k}=t(p),C=!!k,b=n(C?u.substring(0,k):u);if(!b){if(!C){l=p+(l.length>0?" "+l:l);continue}if(b=n(u),!b){l=p+(l.length>0?" "+l:l);continue}C=!1}let y=Rr(f).join(":"),v=c?y+Me:y,N=v+b;if(o.includes(N))continue;o.push(N);let B=s(b,C);for(let P=0;P<B.length;++P){let U=B[P];o.push(v+U)}l=p+(l.length>0?" "+l:l)}return l};function Mr(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Ee(r))&&(n&&(n+=" "),n+=t);return n}var Ee=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Ee(e[n]))&&(t&&(t+=" "),t+=r);return t};function Er(e,...r){let t,n,s,o=a;function a(d){let p=r.reduce((f,c)=>c(f),e());return t=Tr(p),n=t.cache.get,s=t.cache.set,o=l,l(d)}function l(d){let p=n(d);if(p)return p;let f=Sr(d,t);return s(d,f),f}return function(){return o(Mr.apply(null,arguments))}}var x=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,zr=/^\d+\/\d+$/,Fr=new Set(["px","full","screen"]),Lr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|re|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Gr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Hr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>H(e)||Fr.has(e)||zr.test(e),z=e=>j(e,"length",Yr),H=e=>!!e&&!Number.isNaN(Number(e)),de=e=>j(e,"number",H),_=e=>!!e&&Number.isInteger(Number(e)),jr=e=>e.endsWith("%")&&H(e.slice(0,-1)),i=e=>ze.test(e),F=e=>Lr.test(e),Or=new Set(["length","size","percentage"]),Vr=e=>j(e,Or,Fe),Qr=e=>j(e,"position",Fe),_r=new Set(["image","url"]),Jr=e=>j(e,_r,qr),Kr=e=>j(e,"",Xr),J=()=>!0,j=(e,r,t)=>{let n=ze.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Yr=e=>Dr.test(e)&&!Gr.test(e),Fe=()=>!1,Xr=e=>Ur.test(e),qr=e=>Hr.test(e);var Wr=()=>{let e=x("colors"),r=x("spacing"),t=x("blur"),n=x("brightness"),s=x("borderColor"),o=x("borderRadius"),a=x("borderSpacing"),l=x("borderWidth"),d=x("contrast"),p=x("grayscale"),f=x("hueRotate"),c=x("invert"),u=x("gap"),k=x("gradientColorStops"),C=x("gradientColorStopPositions"),b=x("inset"),y=x("margin"),v=x("opacity"),N=x("padding"),B=x("saturate"),P=x("scale"),U=x("sepia"),W=x("skew"),ke=x("space"),Ce=x("translate"),se=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto",i,r],w=()=>[i,r],Ne=()=>["",S,z],Z=()=>["auto",H,i],Ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",i],Be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[H,i];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[S,z],blur:["none","",F,i],brightness:I(),borderColor:[e],borderRadius:["none","","full",F,i],borderSpacing:w(),borderWidth:Ne(),contrast:I(),grayscale:Q(),hueRotate:I(),invert:Q(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[jr,z],inset:ie(),margin:ie(),opacity:I(),padding:w(),saturate:I(),scale:I(),sepia:Q(),skew:I(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Be()}],"break-before":[{"break-before":Be()}],"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:[...Ae(),i]}],overflow:[{overflow:le()}],"overflow-x":[{"overflow-x":le()}],"overflow-y":[{"overflow-y":le()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],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",_,i]}],basis:[{basis:ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",_,i]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",_,i]},i]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[_,i]},i]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[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",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[F]},F]}],re:[{re:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-re":[{"min-re":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-re":[{"max-re":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",F,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",de]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",H,de]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,z]}],"underline-offset":[{"underline-offset":["auto",S,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ae(),Qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[S,i]}],"outline-w":[{outline:[S,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[S,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,Kr]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",F,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[B]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[_,i]}],"translate-x":[{"translate-x":[Ce]}],"translate-y":[{"translate-y":[Ce]}],"skew-x":[{"skew-x":[W]}],"skew-y":[{"skew-y":[W]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,z,de]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","re"],"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 Le=Er(Wr);function m(...e){return Le((0,De.clsx)(e))}var re=require("react/jsx-runtime"),Ge=({className:e,content:r,style:t})=>(0,re.jsx)("div",{className:m("mx-auto my-8 w-full",e),children:(0,re.jsx)("div",{className:m("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,re.jsx)(T,{content:r,enableGutter:!1,enableProse:!1})})});var Ue=require("@radix-ui/react-slot"),He=require("class-variance-authority"),je=D(require("react")),Zr=(0,He.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:"re-10 px-4 py-2",icon:"re-10 w-10",lg:"re-11 rounded px-8",sm:"re-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),K=je.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...s},o)=>(0,re.jsx)(e?Ue.Slot:"button",{className:m(Zr({className:r,size:t,variant:n})),ref:o,...s}));K.displayName="Button";var ue=D(require("next/link")),X=e=>{let{type:r,appearance:t="inline",children:n,className:s,label:o,newTab:a,reference:l,size:d,url:p}=e,f=r==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:p;if(!f)return null;let c=t==="link"?"clear":d,u=a?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,re.jsxs)(ue.default,{className:m(s),href:f||p||"",...u,children:[o&&o,n&&n]}):(0,re.jsx)(K,{asChild:!0,className:s,size:c,variant:t,children:(0,re.jsxs)(ue.default,{className:m(s),href:f||p||"",...u,children:[o&&o,n&&n]})})};var Ve=({links:e,richText:r})=>(0,re.jsx)("div",{className:"container",children:(0,re.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,re.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,re.jsx)(T,{className:"mb-0",content:r,enableGutter:!1})}),(0,re.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,re.jsx)(X,{size:"lg",...t},n))})]})});var te=require("prism-react-renderer");var Qe=require("lucide-react"),_e=require("react");function Je({code:e}){let[r,t]=(0,_e.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,re.jsx)("div",{className:"flex justify-end align-middle",children:(0,re.jsxs)(K,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,re.jsx)("p",{children:r}),(0,re.jsx)("div",{className:"w-6 re-6 dark:invert",children:(0,re.jsx)(Qe.ClipboardCopy,{})})]})})}var Ke=({code:e,language:r=""})=>e?(0,re.jsx)(te.Highlight,{code:e,language:r,theme:te.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:s})=>(0,re.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,re.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,re.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,re.jsx)("span",{className:"table-cell pl-4",children:o.map((l,d)=>(0,re.jsx)("span",{...n({token:l})},d))})]},a)),(0,re.jsx)(Je,{code:e})]})}):null;var Ye=({className:e,code:r,language:t})=>(0,re.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,re.jsx)(Ke,{code:r,language:t})});var qe=D(require("next/image")),$r={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Xe="data:image/png;base64,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",We=e=>{let{alt:r,fill:t,imgClassName:n,priority:s,resource:o,size:a,src:l,loading:d}=e,p,f,c=r,u=l||"";if(!u&&o&&typeof o=="object"){let{alt:b,filename:y,height:v,url:N,width:B}=o;if(v&&v>500){let P=500/v;p=B*P,f=v*P}else p=B,f=v;c=b||"",u=N||Xe}let k=d||"lazy",C=a||Object.entries($r).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,re.jsx)("picture",{children:(0,re.jsx)(qe.default,{alt:c||"",className:m(n),fill:t,height:t?void 0:f,placeholder:"blur",blurDataURL:Xe,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:C,src:u,width:t?void 0:p})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $e=()=>{if(Ze){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var er=e=>{let{onClick:r,resource:t,videoClassName:n}=e,s=(0,_e.useRef)(null);if((0,_e.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,re.jsx)("video",{autoPlay:!0,className:m(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,re.jsx)("source",{src:`${$e()}/media/${o}`})})}return null};var O=e=>{var a;let{className:r,htmlElement:t="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,re.jsx)(t||_e.Fragment,{...t!==null?{className:r}:{},children:s?(0,re.jsx)(er,{...e}):(0,re.jsx)(We,{...e})})};var tr=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,re.jsx)("div",{className:m("re-full ",{container:t},r),children:(0,re.jsx)(O,{imgClassName:m("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var or=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,re.jsx)("div",{className:m("",{container:t},r),children:(0,re.jsx)(O,{imgClassName:m("rounded-[0.8rem]",n),resource:s,src:o})})};var xe=({type:e="solid",iconName:r="cloud",size:t="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+r,a=n!=null?n:"",l=s+o+" fa-"+t+" "+a;return(0,re.jsx)("i",{className:l})};var sr=D(require("next/image"));function nr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ve({image:e,icon:r,title:t,subtitle:n,content:s,statistic:o,settings:a,link:l,className:d}){var c,u;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,re.jsxs)("div",{className:m("min-w-56 max-w-xl re-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(c=a==null?void 0:a.width)!=null?c:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,re.jsx)("div",{className:"relative re-1/2 lg:re-2/3 w-full mb-0",children:(0,re.jsx)(sr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,re.jsxs)("div",{className:m(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex re-2/5 md:max-re-1/2 flex-col flex-grow"),children:[n&&(0,re.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,re.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,re.jsx)(et,{icon:{type:(r==null?void 0:r.type)||"fa-light",iconName:(r==null?void 0:r.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(a==null?void 0:a.card)==="default"?"solid":(u=a==null?void 0:a.card)!=null?u:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,re.jsx)("div",{className:"mb-6",children:(0,re.jsx)("div",{className:m("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,re.jsx)(T,{enableGutter:!1,content:s,enableProse:!1,className:m("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,re.jsx)("div",{className:m("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,re.jsx)("div",{className:"pt-6 re-full flex items-end justify-start",children:(0,re.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,re.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 re-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var et=({icon:e,heading:r,variant:t,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,re.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,re.jsx)("div",{className:m("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:r}),nr(e)&&(0,re.jsx)("div",{className:m("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,re.jsx)(xe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,re.jsxs)("div",{className:"flex flex-col gap-4",children:[nr(e)&&(0,re.jsx)("div",{className:m("re-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:(0,re.jsx)(xe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,re.jsx)("h3",{className:m("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})]}):(0,re.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,re.jsx)("div",{className:m("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})});var lr=({title:e,description:r,features:t,id:n,nested:s=!1})=>(0,re.jsxs)("section",{className:m(!s&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,re.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),r&&typeof r=="string"&&(0,re.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:r}),r&&typeof r=="object"&&(0,re.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,re.jsx)(T,{content:r,enableGutter:!1})}),(0,re.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((o,a)=>{var d;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,re.jsx)(ve,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(d=l())!=null?d:{type:"none",icon:null}},a)})})]});var ne=D(require("react"));function q({nodes:e}){return(0,re.jsx)(ne.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"&&r.text){let o=(0,re.jsx)(ne.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,re.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,re.jsx)("em",{children:o},t)),r.format&4&&(o=(0,re.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,re.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,re.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,re.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,re.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,re.jsx)("table",{children:(0,re.jsx)("tbody",{children:r.children.map((o,a)=>(0,re.jsx)("tr",{children:o.children.map((l,d)=>(0,re.jsx)("td",{children:q({nodes:l.children})},d))},a))})},t);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return q({nodes:o.children})},s="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,re.jsx)(Ve,{...o},t);case"mediaBlock":return(0,re.jsx)(tr,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return(0,re.jsx)(or,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,re.jsx)(Ge,{className:"col-start-2 mb-4",...o},t);case"code":return(0,re.jsx)(Ye,{className:"col-start-2",...o},t);case"features":return(0,re.jsx)(lr,{...o,nested:!0},t);case"reusableContentBlock":q({nodes:o.reusableContent.layout});default:return null}}else switch(r.type){case"linebreak":return(0,re.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,re.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,re.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,re.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,re.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,re.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,re.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,re.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}case"autolink":{let o=r.fields;return(0,re.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}var T=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var s;return r?(0,re.jsx)("div",{className:m({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&q({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null};var cr=require("next/navigation");function rt({external:e=!1,newTab:r=!1,scroll:t=!0}){let n=(0,cr.useRouter)(),s=(0,_e.useRef)(null),o=(0,_e.useRef)(null),a=(0,_e.useRef)(0),l=(0,_e.useRef)(!1),d=(0,_e.useRef)(0),p=(0,_e.useCallback)(c=>{if(c.target){let u=c.target,k=+new Date,C=u==null?void 0:u.closest("a");d.current=c.button,C?l.current=!0:(l.current=!1,a.current=k)}},[n,s,o,a]),f=(0,_e.useCallback)(c=>{var u,k;if((u=o.current)!=null&&u.href){let b=+new Date-a.current;if((k=o.current)!=null&&k.href&&b<=250&&!l.current&&d.current===0&&!c.ctrlKey)if(e){let y=r?"_blank":"_self";window.open(o.current.href,y)}else n.push(o.current.href,{scroll:t})}},[n,s,o,a]);return(0,_e.useEffect)(()=>{let c=s.current;return c&&(c.addEventListener("mousedown",p),c.addEventListener("mouseup",f)),()=>{c&&c&&(c==null||c.removeEventListener("mousedown",p),c==null||c.removeEventListener("mouseup",f))}},[s,o,n]),{card:{ref:s},link:{ref:o}}}var dr=rt;var pr=D(require("next/link"));var mr=e=>{let{card:r,link:t}=dr({}),{className:n,doc:s,relationTo:o,showCategories:a,title:l}=e,{slug:d,categories:p,meta:f,title:c}=s||{},{description:u,image:k}=f||{},C=p&&Array.isArray(p)&&p.length>0,b=l||c,y=u==null?void 0:u.replace(/\s/re," "),v=`/${o}/${d}`;return(0,re.jsxs)("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:r.ref,children:[(0,re.jsxs)("div",{className:"relative w-full ",children:[!k&&(0,re.jsx)("div",{className:"",children:"No image"}),k&&typeof k!="string"&&(0,re.jsx)(O,{resource:k,size:"33vw"})]}),(0,re.jsxs)("div",{className:"p-4",children:[a&&C&&(0,re.jsx)("div",{className:"uppercase text-sm mb-4",children:a&&C&&(0,re.jsx)("div",{children:p==null?void 0:p.map((N,B)=>{if(typeof N=="object"){let{title:P}=N,U=P||"Untitled category",W=B===p.length-1;return(0,re.jsxs)(_e.Fragment,{children:[U,!W&&(0,re.jsx)(_e.Fragment,{children:", \xA0"})]},B)}return null})})}),b&&(0,re.jsx)("div",{className:"prose",children:(0,re.jsx)("h3",{children:(0,re.jsx)(pr.default,{className:"not-prose",href:v,ref:t.ref,children:b})})}),u&&(0,re.jsx)("div",{className:"mt-2",children:u&&(0,re.jsx)("p",{children:y})})]})]})};var tt=e=>{let{className:r,docs:t,introContent:n}=e;return(0,re.jsxs)("div",{className:(0,ur.default)("container",r),children:[n&&(0,re.jsx)(T,{content:n,enableGutter:!1}),(0,re.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,o)=>typeof s=="string"?null:(0,re.jsx)(mr,{doc:s,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={RelatedPosts});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-2GM7CZWD.mjs";import"../../chunk-XXTN5HMN.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-FP5DGSVT.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-RJGKFNZL.mjs";import"../../chunk-6DHYRATS.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RelatedPosts};
|