cortex-react-components 1.48.3 → 1.48.5
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-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-EQDX6HFN.mjs → chunk-5EFOKBKA.mjs} +1 -1
- package/dist/{chunk-E2LKSCDR.mjs → chunk-5SEB2VCD.mjs} +1 -1
- package/dist/{chunk-MSR2P3T7.mjs → chunk-6FRJZXX4.mjs} +1 -1
- package/dist/{chunk-I5EBXVLE.mjs → chunk-72Z4T7BT.mjs} +1 -1
- package/dist/{chunk-4BRGCHXG.mjs → chunk-74KJ5V34.mjs} +1 -1
- package/dist/{chunk-MTGSUV2N.mjs → chunk-7FR5BXX2.mjs} +1 -1
- package/dist/{chunk-GI2QDPCR.mjs → chunk-A2CXTTX4.mjs} +1 -1
- package/dist/{chunk-6DBC2R63.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-CYECAKIW.mjs → chunk-BOZT7Z5K.mjs} +1 -1
- package/dist/{chunk-A64VAX4R.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/chunk-D2VK2HQD.mjs +1 -0
- package/dist/{chunk-GHBJK554.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-I3JB7SE2.mjs → chunk-ECOVEIOV.mjs} +1 -1
- package/dist/{chunk-BD5WERSE.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-TDFKZCPU.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-RZTXT4UD.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-5SZ2AE3S.mjs → chunk-JBRBY7EX.mjs} +1 -1
- package/dist/{chunk-XAIWWMQS.mjs → chunk-JGAQ62DH.mjs} +1 -1
- package/dist/{chunk-5YTDIEDJ.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/{chunk-GSEPIRRJ.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-CKUUXMUT.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-IQ7LAP7P.mjs → chunk-MY3PX5GI.mjs} +1 -1
- package/dist/{chunk-QZA2ZGA2.mjs → chunk-N25OHVNY.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-S4KPY3YT.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-KEUZSK3N.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-ORIYZGWU.mjs → chunk-RRL4ZH6T.mjs} +1 -1
- package/dist/{chunk-GJXOXTLZ.mjs → chunk-RY75YBKF.mjs} +1 -1
- package/dist/{chunk-AAI2VZST.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/{chunk-G5HD4IFA.mjs → chunk-SEG6IDDX.mjs} +1 -1
- package/dist/{chunk-MZD4JZXX.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-QO2Z7WXW.mjs → chunk-UMILL4LR.mjs} +1 -1
- package/dist/{chunk-VLUAFB54.mjs → chunk-V6QZFOJH.mjs} +1 -1
- package/dist/{chunk-SE5XAXK5.mjs → chunk-VQXQZ5TQ.mjs} +1 -1
- package/dist/{chunk-5MFDXJ4L.mjs → chunk-WKHESSJP.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/{ReusableContent.js → ReusableContentBlock.js} +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -0
- package/dist/components/Blocks/index.d.ts +1 -0
- 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.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/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.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- 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 +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +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.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-B775ZVKF.mjs +0 -1
- package/dist/components/Blocks/ReusableContent.mjs +0 -1
- /package/dist/components/Blocks/{ReusableContent.css → ReusableContentBlock.css} +0 -0
- /package/dist/components/Blocks/{ReusableContent.d.ts → ReusableContentBlock.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as
|
|
1
|
+
import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as k}from"./chunk-4NKKWJ2X.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as L}from"./chunk-Y5ZFXDW5.mjs";import{a as A,f as I,g as E,i as P}from"./chunk-JWDVKGZL.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as f}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as t,jsxs as r}from"react/jsx-runtime";function ie({customers:m,users:n,categories:B,onSubmit:O,initialDeal:d,onAddCustomer:V,onClose:p}){var y,x,w,F;let[s,o]=S(d||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,g]=S(!1),[i,c]=S({});J(()=>{d&&o(d)},[d]);let R=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},H=async e=>{e.preventDefault(),c({});try{if(R()){let a=await O({...s});a.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),p==null||p()):c(a.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},M=e=>{console.log(e),o(a=>({...a,categories:(a.categories||[]).includes(e.id)?(a.categories||[]).filter(u=>u!==e.id):[...a.categories||[],e.id]}))},z=async e=>{o({...s,customer:e});try{let a=await V(e);a.success?g(!1):c(a.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},j=e=>n==null?void 0:n.find(a=>a.id===Number(e)),G=e=>m==null?void 0:m.find(a=>a.id===Number(e));return r(Q,{children:[r("form",{onSubmit:H,className:"space-y-6",children:[t(k,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(C,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>o({...s,customer:G(e)}),children:[t(D,{children:t(h,{placeholder:"Select customer"})}),t(b,{children:m.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),t(f,{variant:"outline",size:"icon",onClick:()=>g(!0),children:t(K,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(v,{id:"value",type:"number",value:s.value||"",onChange:e=>o({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(C,{value:(F=(w=s.assignee)==null?void 0:w.id)==null?void 0:F.toString(),onValueChange:e=>o({...s,assignee:j(e)}),children:[t(D,{children:t(h,{placeholder:"Select assignee"})}),t(b,{children:n&&n.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(T,{id:"description",value:s.description||"",onChange:e=>o({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:B.filter(a=>a.type===e).map(a=>{var u;return r("div",{className:"flex items-center space-x-2",children:[t(L,{id:a.id.toString(),checked:(u=s.categories)==null?void 0:u.includes(a.id),onCheckedChange:()=>M(a)}),t("label",{htmlFor:a.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a.name})]},a.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(v,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>o({...s,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(f,{type:"submit",className:"w-full",children:d?"Update Deal":"Add Deal"})]}),t(A,{open:q,onOpenChange:g,children:r(I,{children:[t(E,{children:t(P,{children:"Add New Customer"})}),t(U,{onSubmit:z})]})})]})}export{ie as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-KTVHPTON.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-23EQTK7B.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as
|
|
4
|
+
import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as d}from"./chunk-DRJBYVJB.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-FR65RGJD.mjs";import{a as c}from"./chunk-NRE4HHK7.mjs";import{a as l}from"./chunk-ABQMNGD4.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as s}from"./chunk-BZAYEKYC.mjs";import{a as r}from"./chunk-EZVA3JCM.mjs";import{b as i}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as s}from"./chunk-BZAYEKYC.mjs";import{a as r}from"./chunk-EZVA3JCM.mjs";import{b as i}from"./chunk-VQXQZ5TQ.mjs";import{b as l}from"./chunk-D2VK2HQD.mjs";import{a}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-C5XNOZXC.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function u({...e}){let d=e.page,{contentWithIds:n,tableOfContents:p}=o(d);console.log("contentWithIds",n);let f=[{id:"67a8fefea2a234ac414429cd",reusableContent:{id:1,title:"Test Content",hero:{type:"lowImpact",richText:null,links:[],media:null},layout:[{id:"67a8f0fca2a234ac414429c9",title:null,description:null,blockName:null,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}}}],meta:{title:null,image:null,description:null},publishedAt:"2025-02-09T18:16:45.035Z",links:[],slug:"test-content",slugLock:!0,updatedAt:"2025-02-09T18:24:42.287Z",createdAt:"2025-02-09T18:16:45.034Z"},customId:null,blockName:"About Reply",blockType:"reusableContentBlock"}];return m("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(a,{isMenuOpen:!0,logoLight:s,logoDark:c}),t(i,{...e.hero}),t(r,{edit:e.edit,pageId:e.page.id,tableOfContents:p,relatedContent:e.relatedContent,children:t(l,{blocks:n})})]})}export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("border border-border rounded-[0.8rem]",s),resource:i,src:n})})};export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a}from"../../chunk-
|
|
1
|
+
import{b as a}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"../../chunk-
|
|
1
|
+
import{b as t}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as i}from"react/jsx-runtime";var r={title:"Reusable Blocks/CallToAction",component:t},c=r,o=l=>i(t,{...l}),e=o.bind({});e.args={richText:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1}]}},links:[{link:{type:"custom",label:"Learn More",url:"#"}},{link:{type:"custom",label:"Get Started",url:"#"}}]};var a=o.bind({});a.args={...e.args,links:[{link:{type:"custom",label:"Learn More",url:"#"}}]};export{e as Default,a as SingleLink,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-74KJ5V34.mjs";import"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ContentBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"../../chunk-
|
|
1
|
+
import{c as a}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as FeaturesBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as t}from"../../chunk-
|
|
1
|
+
import{c as t}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";var e={title:"Reusable Blocks/FeaturesBlock",component:t,tags:["autodocs"],parameters:{layout:"padded"}},o=e,i={args:{title:"What Are Digital Colleagues?",description:"some other words",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"},link:{label:"label",type:"custom",url:"#"},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 (internal link)",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},a={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."}]}},r={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."}]}},s={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."}]}},l={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."}]}},c={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}}}},u={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{c as Cards,i as Default,s as NoIcon,l as NoTitle,r as OneFeature,u as ThreeCards,a as TwoFeatures,o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.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-PVRWMAHW.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as MediaBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-BWT2MAIT.mjs";import"../../chunk-23EQTK7B.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RelatedPosts};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var pt=Object.create;var $=Object.defineProperty;var mt=Object.getOwnPropertyDescriptor;var ut=Object.getOwnPropertyNames;var gt=Object.getPrototypeOf,ft=Object.prototype.hasOwnProperty;var bt=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},Te=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ut(t))!ft.call(e,s)&&s!==r&&$(e,s,{get:()=>t[s],enumerable:!(n=mt(t,s))||n.enumerable});return e};var Q=(e,t,r)=>(r=e!=null?pt(gt(e)):{},Te(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),yt=e=>Te($({},"__esModule",{value:!0}),e);var er={};bt(er,{RenderBlocks:()=>ve});module.exports=yt(er);var De=require("clsx");var ge="-",ht=e=>{let t=kt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ge);return a[0]===""&&a.length!==1&&a.shift(),Me(a,t)||xt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Me=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Me(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ge);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ie=/^\[(.+)\]$/,xt=e=>{if(Ie.test(e)){let t=Ie.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},kt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return wt(Object.entries(e.classGroups),r).forEach(([o,l])=>{ue(l,n,o,t)}),n},ue=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Se(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(vt(s)){ue(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ue(l,Se(t,o),r,n)})})},Se=(e,t)=>{let r=e;return t.split(ge).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},vt=e=>e.isThemeGetter,wt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,Ct=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},ze="!",At=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],p=0,u=0,h;for(let y=0;y<a.length;y++){let k=a[y];if(p===0){if(k===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(u,y)),u=y+o;continue}if(k==="/"){h=y;continue}}k==="["?p++:k==="]"&&p--}let x=c.length===0?a:a.substring(u),A=x.startsWith(ze),N=A?x.substring(1):x,b=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},Nt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Bt=e=>({cache:Ct(e.cacheSize),parseClassName:At(e),...ht(e)}),Pt=/\s+/,Rt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(Pt),a="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=r(p),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){a=p+(a.length>0?" "+a:a);continue}if(b=n(x),!b){a=p+(a.length>0?" "+a:a);continue}N=!1}let y=Nt(u).join(":"),k=h?y+ze:y,C=k+b;if(o.includes(C))continue;o.push(C);let E=s(b,N);for(let F=0;F<E.length;++F){let q=E[F];o.push(k+q)}a=p+(a.length>0?" "+a:a)}return a};function Tt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ee(t))&&(n&&(n+=" "),n+=r);return n}var Ee=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ee(e[n]))&&(r&&(r+=" "),r+=t);return r};function It(e,...t){let r,n,s,o=l;function l(c){let p=t.reduce((u,h)=>h(u),e());return r=Bt(p),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let p=n(c);if(p)return p;let u=Rt(c,r);return s(c,u),u}return function(){return o(Tt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Fe=/^\[(?:([a-ee-]+):)?(.+)\]$/i,St=/^\d+\/\d+$/,Mt=new Set(["px","full","screen"]),zt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Et=/\d+(%|px|r?em|[sdl]?ee([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(ee|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ft=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gt=/^(inset_)?-?((\d+)?\.?(\d+)[a-ee]+|0)_-?((\d+)?\.?(\d+)[a-ee]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>H(e)||Mt.has(e)||St.test(e),S=e=>V(e,"length",Jt),H=e=>!!e&&!Number.isNaN(Number(e)),me=e=>V(e,"number",H),j=e=>!!e&&Number.isInteger(Number(e)),Dt=e=>e.endsWith("%")&&H(e.slice(0,-1)),i=e=>Fe.test(e),M=e=>zt.test(e),Ut=new Set(["length","size","percentage"]),Ht=e=>V(e,Ut,Ge),Vt=e=>V(e,"position",Ge),Ot=new Set(["image","url"]),Qt=e=>V(e,Ot,Kt),jt=e=>V(e,"",_t),J=()=>!0,V=(e,t,r)=>{let n=Fe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Jt=e=>Et.test(e)&&!Ft.test(e),Ge=()=>!1,_t=e=>Gt.test(e),Kt=e=>Lt.test(e);var Yt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),k=g("opacity"),C=g("padding"),E=g("saturate"),F=g("scale"),q=g("sepia"),we=g("skew"),Ce=g("space"),Ae=g("translate"),ie=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",i,t],f=()=>[i,t],Ne=()=>["",T,S],W=()=>["auto",H,i],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["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"],pe=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",i],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[H,i];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[T,S],blur:["none","",M,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:f(),borderWidth:Ne(),contrast:R(),grayscale:O(),hueRotate:R(),invert:O(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Dt,S],inset:de(),margin:de(),opacity:R(),padding:f(),saturate:R(),scale:R(),sepia:O(),skew:R(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Be(),i]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],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"],ee:[{ee:["auto",j,i]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",j,i]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",j,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[j,i]},i]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],ee:[{ee:[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":[Ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ce]}],"space-y-reverse":["space-y-reverse"],ee:[{ee:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-ee":[{"min-ee":[i,t,"min","max","fit"]}],"max-ee":[{"max-ee":[i,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"font-family":[{font:[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,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,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":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,S]}],"underline-offset":[{"underline-offset":["auto",T,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:f()}],"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":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ht]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-ee":[{border:[a]}],"border-ee-x":[{"border-x":[a]}],"border-ee-y":[{"border-y":[a]}],"border-ee-s":[{"border-s":[a]}],"border-ee-e":[{"border-e":[a]}],"border-ee-t":[{"border-t":[a]}],"border-ee-r":[{"border-r":[a]}],"border-ee-b":[{"border-b":[a]}],"border-ee-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Z()}],"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:["",...Z()]}],"outline-offset":[{"outline-offset":[T,i]}],"outline-ee":[{outline:[T,S]}],"outline-color":[{outline:[e]}],"ring-ee":[{ring:Ne()}],"ring-ee-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-ee":[{"ring-offset":[T,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,jt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[E]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[j,i]}],"translate-x":[{"translate-x":[Ae]}],"translate-y":[{"translate-y":[Ae]}],"skew-x":[{"skew-x":[we]}],"skew-y":[{"skew-y":[we]}],"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","ee-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-ee":[{"scroll-ee":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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-ee":[{stroke:[T,S,me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ee:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["ee","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-ee":["border-ee-s","border-ee-e","border-ee-t","border-ee-r","border-ee-b","border-ee-l"],"border-ee-x":["border-ee-r","border-ee-l"],"border-ee-y":["border-ee-t","border-ee-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-ee":["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=It(Yt);function d(...e){return Le((0,De.clsx)(e))}var dt=Q(require("next/image"));var ee=require("react/jsx-runtime"),Ue=({className:e,content:t,style:r})=>(0,ee.jsx)("div",{className:d("mx-auto my-8 ee-full",e),children:(0,ee.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,ee.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var te=require("prism-react-renderer");var He=require("@radix-ui/react-slot"),Ve=require("class-variance-authority"),Oe=Q(require("react")),Xt=(0,Ve.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 ee-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"}}}),G=Oe.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,ee.jsx)(e?He.Slot:"button",{className:d(Xt({className:t,size:r,variant:n})),ref:o,...s}));G.displayName="Button";var je=require("lucide-react"),Je=require("react");function _e({code:e}){let[t,r]=(0,Je.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ee.jsx)("div",{className:"flex justify-end align-middle",children:(0,ee.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,ee.jsx)("p",{children:t}),(0,ee.jsx)("div",{className:"ee-6 h-6 dark:invert",children:(0,ee.jsx)(je.ClipboardCopy,{})})]})})}var Ke=({code:e,language:t=""})=>e?(0,ee.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,ee.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,ee.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ee.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,ee.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,ee.jsx)("span",{...n({token:a})},c))})]},l)),(0,ee.jsx)(_e,{code:e})]})}):null;var Ye=({className:e,code:t,language:r})=>(0,ee.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ee.jsx)(Ke,{code:t,language:r})});var qe=Q(require("next/image")),qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",We=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,p,u,h=t,x=a||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:k,url:C,width:E}=o;p=E,u=k,h=b||"",x=C||Xe}let A=c||"lazy",N=l||Object.entries(qt).map(([,b])=>`(max-width: ${b}px) ${b*2}ee`).join(", ");return(0,ee.jsx)("picture",{children:(0,ee.jsx)(qe.default,{alt:h||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Xe,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:N,src:x,width:r?void 0:p})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $e=()=>{if(Ze){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var et=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,Je.useRef)(null);if((0,Je.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ee.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,ee.jsx)("source",{src:`${$e()}/media/${o}`})})}return null};var ne=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,ee.jsx)(r||Je.Fragment,{...r!==null?{className:t}:{},children:s?(0,ee.jsx)(et,{...e}):(0,ee.jsx)(We,{...e})})};var _=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,ee.jsx)("div",{className:d("",{container:r},t),children:(0,ee.jsx)(ne,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var rt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,ee.jsx)("div",{className:d("",{container:r},t),children:(0,ee.jsx)(ne,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var ot=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,ee.jsx)("i",{className:a})};function Wt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function st({variant:e="light",className:t,icon:r,heading:n,subheading:s,content:o,statistic:l,buttonText:a,buttonHref:c}){return(0,ee.jsxs)("div",{className:d("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,ee.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,ee.jsx)("div",{className:d("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Wt(r)?(0,ee.jsx)(ot,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,ee.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,ee.jsx)("div",{className:"mb-6",children:(0,ee.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:l})}),s&&(0,ee.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,ee.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,ee.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,ee.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),a&&(0,ee.jsx)("div",{className:"mt-8",children:(0,ee.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,ee.jsxs)("a",{href:c,children:[a,(0,ee.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,ee.jsx)("div",{className:"absolute bottom-0 right-0 ee-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 se=({title:e,description:t,features:r,id:n})=>(0,ee.jsxs)("section",{className:d("container ee-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,ee.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,ee.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,ee.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,ee.jsx)(B,{content:t,enableGutter:!1})}),(0,ee.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var l,a,c,p,u;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,ee.jsx)(Zt,{section:s,index:o},o);{let h=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,ee.jsx)(st,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(p=s.link)!=null&&p.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},o)}})})]}),Zt=({section:e,index:t})=>{if(!e)return null;let r=(0,ee.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,ee.jsx)("div",{className:"text-accent h-12 ee-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,ee.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,ee.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,ee.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,ee.jsx)("div",{className:"text-lg opacity-80",children:(0,ee.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,ee.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var ae=Q(require("react"));var ke=Q(require("next/link")),D=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:p}=e,u=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}`:p;if(!u)return null;let h=r==="link"?"clear":c,x=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ee.jsxs)(ke.default,{className:d(s),href:u||p||"",...x,children:[o&&o,n&&n]}):(0,ee.jsx)(G,{asChild:!0,className:s,size:h,variant:r,children:(0,ee.jsxs)(ke.default,{className:d(s),href:u||p||"",...x,children:[o&&o,n&&n]})})};function Y({nodes:e}){return(0,ee.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ee.jsx)(ae.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ee.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ee.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ee.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ee.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ee.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ee.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ee.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ee.jsx)("table",{children:(0,ee.jsx)("tbody",{children:t.children.map((o,l)=>(0,ee.jsx)("tr",{children:o.children.map((a,c)=>(0,ee.jsx)("td",{children:Y({nodes:a.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Y({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,ee.jsx)(le,{...o},r);case"mediaBlock":return(0,ee.jsx)(_,{className:"col-start-1 col-span-3",imgClassName:"ee-0",...o,captionClassName:"mx-auto max-ee-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ee.jsx)(rt,{className:"col-start-1 col-span-3",imgClassName:"ee-0",...o,captionClassName:"mx-auto max-ee-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ee.jsx)(Ue,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ee.jsx)(Ye,{className:"col-start-2",...o},r);case"features":return(0,ee.jsx)(se,{...o},r);case"reusableContentBlock":Y({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ee.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ee.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,ee.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,ee.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ee.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,ee.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,ee.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,ee.jsx)(D,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,ee.jsx)(D,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,ee.jsx)("div",{className:d({"container ":r,"max-ee-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Y({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var le=({links:e,richText:t})=>(0,ee.jsx)("div",{className:"container",children:(0,ee.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,ee.jsx)("div",{className:"max-ee-[48rem] flex items-center",children:t&&(0,ee.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,ee.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,ee.jsx)(D,{size:"lg",...r},n))})]})});var lt=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,ee.jsx)("div",{className:"container my-6",children:(0,ee.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,s)=>{let{enableLink:o,link:l,richText:a,size:c}=n;return(0,ee.jsxs)("div",{className:d(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,ee.jsx)(B,{content:a,enableGutter:!1}),o&&(0,ee.jsx)(D,{...l})]},s)})})})};var it=e=>{console.log("ReusableContentBlock:props",e);let{customId:t,reusableContent:r}=e;return console.log("ReusableContentBlock:reusableContent",r),console.log("ReusableContentBlock:object",typeof r=="object"),typeof r=="object"&&r!==null?(0,ee.jsx)(ve,{blocks:r.layout}):(0,ee.jsx)(ee.Fragment,{})};var ct={content:lt,cta:le,mediaBlock:_,imageBlock:_,features:se,reusableContentBlock:it},ve=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,ee.jsx)("section",{id:"render-blocks",children:t.map((n,s)=>{var c;let o=require("util");console.log("RenderBlocks:block",o.inspect(n,!1,null,!0));let{blockType:l}=n,a=n==null?void 0:n.theme;if(console.log("RenderBlocks:blockType",o.inspect(l,!1,null,!0)),l&&l in ct){let p=ct[l];if(console.log("BLOCK TYPE EXISTS",p),p)return(0,ee.jsxs)("div",{className:"py-6 relative",children:[(0,ee.jsx)($t,{block:n,index:s}),(0,ee.jsx)("div",{className:d("container",((c=a==null?void 0:a.settings)==null?void 0:c.theme)==="dark"?"dark":""),children:(0,ee.jsx)(p,{...n})})]},s)}return null})}):null},$t=e=>{var r;if(!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,ee.jsxs)("div",{className:d("absolute inset-0 ee-full h-full -ee-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,ee.jsx)(dt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ee.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,ee.jsx)("div",{className:d("absolute inset-0 -ee-10 ee-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};0&&(module.exports={RenderBlocks});
|
|
4
|
+
"use strict";var ut=Object.create;var $=Object.defineProperty;var gt=Object.getOwnPropertyDescriptor;var ft=Object.getOwnPropertyNames;var bt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var Me=(e,t)=>{for(var o in t)$(e,o,{get:t[o],enumerable:!0})},ze=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ft(t))!yt.call(e,s)&&s!==o&&$(e,s,{get:()=>t[s],enumerable:!(n=gt(t,s))||n.enumerable});return e};var Q=(e,t,o)=>(o=e!=null?ut(bt(e)):{},ze(t||!e||!e.__esModule?$(o,"default",{value:e,enumerable:!0}):o,e)),ht=e=>ze($({},"__esModule",{value:!0}),e);var to={};Me(to,{RenderBlocks:()=>Ce});module.exports=ht(to);var Oe=require("clsx");var ge="-",xt=e=>{let t=vt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ge);return a[0]===""&&a.length!==1&&a.shift(),Ge(a,t)||kt(l)},getConflictingClassGroupIds:(l,a)=>{let c=o[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Ge=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],n=t.nextPart.get(o),s=n?Ge(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(ge);return(l=t.validators.find(({validator:a})=>a(r)))==null?void 0:l.classGroupId},Ee=/^\[(.+)\]$/,kt=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},vt=e=>{let{theme:t,prefix:o}=e,n={nextPart:new Map,validators:[]};return Ct(Object.entries(e.classGroups),o).forEach(([r,l])=>{ue(l,n,r,t)}),n},ue=(e,t,o,n)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:Fe(t,s);r.classGroupId=o;return}if(typeof s=="function"){if(wt(s)){ue(s(n),t,o,n);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,l])=>{ue(l,Fe(t,r),o,n)})})},Fe=(e,t)=>{let o=e;return t.split(ge).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},wt=e=>e.isThemeGetter,Ct=(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,At=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)}}},Le="!",Nt=e=>{let{separator:t,experimentalParseClassName:o}=e,n=t.length===1,s=t[0],r=t.length,l=a=>{let c=[],p=0,u=0,h;for(let y=0;y<a.length;y++){let k=a[y];if(p===0){if(k===s&&(n||a.slice(y,y+r)===t)){c.push(a.slice(u,y)),u=y+r;continue}if(k==="/"){h=y;continue}}k==="["?p++:k==="]"&&p--}let x=c.length===0?a:a.substring(u),A=x.startsWith(Le),N=A?x.substring(1):x,b=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return o?a=>o({className:a,parseClassName:l}):l},Bt=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},Pt=e=>({cache:At(e.cacheSize),parseClassName:Nt(e),...xt(e)}),Rt=/\s+/,Tt=(e,t)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:s}=t,r=[],l=e.trim().split(Rt),a="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=o(p),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){a=p+(a.length>0?" "+a:a);continue}if(b=n(x),!b){a=p+(a.length>0?" "+a:a);continue}N=!1}let y=Bt(u).join(":"),k=h?y+Le:y,C=k+b;if(r.includes(C))continue;r.push(C);let E=s(b,N);for(let F=0;F<E.length;++F){let q=E[F];r.push(k+q)}a=p+(a.length>0?" "+a:a)}return a};function It(){let e=0,t,o,n="";for(;e<arguments.length;)(t=arguments[e++])&&(o=De(t))&&(n&&(n+=" "),n+=o);return n}var De=e=>{if(typeof e=="string")return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=De(e[n]))&&(o&&(o+=" "),o+=t);return o};function St(e,...t){let o,n,s,r=l;function l(c){let p=t.reduce((u,h)=>h(u),e());return o=Pt(p),n=o.cache.get,s=o.cache.set,r=a,a(c)}function a(c){let p=n(c);if(p)return p;let u=Tt(c,o);return s(c,u),u}return function(){return r(It.apply(null,arguments))}}var g=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-ee-]+):)?(.+)\]$/i,Mt=/^\d+\/\d+$/,zt=new Set(["px","full","screen"]),Et=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ft=/\d+(%|px|r?em|[sdl]?ee([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(ee|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Gt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Lt=/^(inset_)?-?((\d+)?\.?(\d+)[a-ee]+|0)_-?((\d+)?\.?(\d+)[a-ee]+|0)/,Dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>H(e)||zt.has(e)||Mt.test(e),S=e=>V(e,"length",_t),H=e=>!!e&&!Number.isNaN(Number(e)),me=e=>V(e,"number",H),j=e=>!!e&&Number.isInteger(Number(e)),Ut=e=>e.endsWith("%")&&H(e.slice(0,-1)),i=e=>Ue.test(e),M=e=>Et.test(e),Ht=new Set(["length","size","percentage"]),Vt=e=>V(e,Ht,He),Ot=e=>V(e,"position",He),Qt=new Set(["image","url"]),jt=e=>V(e,Qt,Yt),Jt=e=>V(e,"",Kt),J=()=>!0,V=(e,t,o)=>{let n=Ue.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):o(n[2]):!1},_t=e=>Ft.test(e)&&!Gt.test(e),He=()=>!1,Kt=e=>Lt.test(e),Yt=e=>Dt.test(e);var Xt=()=>{let e=g("colors"),t=g("spacing"),o=g("blur"),n=g("brightness"),s=g("borderColor"),r=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),p=g("grayscale"),u=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),k=g("opacity"),C=g("padding"),E=g("saturate"),F=g("scale"),q=g("sepia"),Ne=g("skew"),Be=g("space"),Pe=g("translate"),ie=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",i,t],f=()=>[i,t],Re=()=>["",T,S],W=()=>["auto",H,i],Te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",i],Se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[H,i];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[T,S],blur:["none","",M,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:f(),borderWidth:Re(),contrast:R(),grayscale:O(),hueRotate:R(),invert:O(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Ut,S],inset:de(),margin:de(),opacity:R(),padding:f(),saturate:R(),scale:R(),sepia:O(),skew:R(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Se()}],"break-before":[{"break-before":Se()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Te(),i]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],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"],ee:[{ee:["auto",j,i]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",j,i]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",j,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[j,i]},i]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],ee:[{ee:[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":[Be]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Be]}],"space-y-reverse":["space-y-reverse"],ee:[{ee:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-ee":[{"min-ee":[i,t,"min","max","fit"]}],"max-ee":[{"max-ee":[i,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"font-family":[{font:[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,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,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":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,S]}],"underline-offset":[{"underline-offset":["auto",T,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:f()}],"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":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Te(),Ot]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],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-ee":[{border:[a]}],"border-ee-x":[{"border-x":[a]}],"border-ee-y":[{"border-y":[a]}],"border-ee-s":[{"border-s":[a]}],"border-ee-e":[{"border-e":[a]}],"border-ee-t":[{"border-t":[a]}],"border-ee-r":[{"border-r":[a]}],"border-ee-b":[{"border-b":[a]}],"border-ee-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Z()}],"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:["",...Z()]}],"outline-offset":[{"outline-offset":[T,i]}],"outline-ee":[{outline:[T,S]}],"outline-color":[{outline:[e]}],"ring-ee":[{ring:Re()}],"ring-ee-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-ee":[{"ring-offset":[T,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Jt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ie()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[E]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[j,i]}],"translate-x":[{"translate-x":[Pe]}],"translate-y":[{"translate-y":[Pe]}],"skew-x":[{"skew-x":[Ne]}],"skew-y":[{"skew-y":[Ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",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","ee-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-ee":[{"scroll-ee":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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-ee":[{stroke:[T,S,me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ee:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["ee","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-ee":["border-ee-s","border-ee-e","border-ee-t","border-ee-r","border-ee-b","border-ee-l"],"border-ee-x":["border-ee-r","border-ee-l"],"border-ee-y":["border-ee-t","border-ee-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-ee":["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 Ve=St(Xt);function d(...e){return Ve((0,Oe.clsx)(e))}var mt=Q(require("next/image"));var ee=require("react/jsx-runtime"),Qe=({className:e,content:t,style:o})=>(0,ee.jsx)("div",{className:d("mx-auto my-8 ee-full",e),children:(0,ee.jsx)("div",{className:d("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,ee.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var te=require("prism-react-renderer");var je=require("@radix-ui/react-slot"),Je=require("class-variance-authority"),_e=Q(require("react")),qt=(0,Je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 ee-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"}}}),G=_e.forwardRef(({asChild:e=!1,className:t,size:o,variant:n,...s},r)=>(0,ee.jsx)(e?je.Slot:"button",{className:d(qt({className:t,size:o,variant:n})),ref:r,...s}));G.displayName="Button";var Ye=require("lucide-react"),Xe=require("react");function qe({code:e}){let[t,o]=(0,Xe.useState)("Copy");function n(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,ee.jsx)("div",{className:"flex justify-end align-middle",children:(0,ee.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,ee.jsx)("p",{children:t}),(0,ee.jsx)("div",{className:"ee-6 h-6 dark:invert",children:(0,ee.jsx)(Ye.ClipboardCopy,{})})]})})}var We=({code:e,language:t=""})=>e?(0,ee.jsx)(te.Highlight,{code:e,language:t,theme:te.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:s})=>(0,ee.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((r,l)=>(0,ee.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,ee.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,ee.jsx)("span",{className:"table-cell pl-4",children:r.map((a,c)=>(0,ee.jsx)("span",{...n({token:a})},c))})]},l)),(0,ee.jsx)(qe,{code:e})]})}):null;var Ze=({className:e,code:t,language:o})=>(0,ee.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ee.jsx)(We,{code:t,language:o})});var et=Q(require("next/image")),Wt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",tt=e=>{let{alt:t,fill:o,imgClassName:n,priority:s,resource:r,size:l,src:a,loading:c}=e,p,u,h=t,x=a||"";if(!x&&r&&typeof r=="object"){let{alt:b,filename:y,height:k,url:C,width:E}=r;p=E,u=k,h=b||"",x=C||$e}let A=c||"lazy",N=l||Object.entries(Wt).map(([,b])=>`(max-width: ${b}px) ${b*2}ee`).join(", ");return(0,ee.jsx)("picture",{children:(0,ee.jsx)(et.default,{alt:h||"",className:d(n),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:$e,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:N,src:x,width:o?void 0:p})})};var ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var rt=()=>{if(ot){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 nt=e=>{let{onClick:t,resource:o,videoClassName:n}=e,s=(0,Xe.useRef)(null);if((0,Xe.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,ee.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,ee.jsx)("source",{src:`${rt()}/media/${r}`})})}return null};var ne=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,ee.jsx)(o||Xe.Fragment,{...o!==null?{className:t}:{},children:s?(0,ee.jsx)(nt,{...e}):(0,ee.jsx)(tt,{...e})})};var _=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:s,staticImage:r}=e;return(0,ee.jsx)("div",{className:d("",{container:o},t),children:(0,ee.jsx)(ne,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:r})})};var at=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:s,staticImage:r}=e;return(0,ee.jsx)("div",{className:d("",{container:o},t),children:(0,ee.jsx)(ne,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:r})})};var lt=({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,ee.jsx)("i",{className:a})};function Zt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ct({variant:e="light",className:t,icon:o,heading:n,subheading:s,content:r,statistic:l,buttonText:a,buttonHref:c}){return(0,ee.jsxs)("div",{className:d("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,ee.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[o&&(0,ee.jsx)("div",{className:d("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Zt(o)?(0,ee.jsx)(lt,{type:o.type,iconName:o.iconName,size:"2x"}):o}),(0,ee.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,ee.jsx)("div",{className:"mb-6",children:(0,ee.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:l})}),s&&(0,ee.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),r&&typeof r=="object"&&(0,ee.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,ee.jsx)(B,{enableGutter:!1,content:r,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),r&&typeof r=="string"&&(0,ee.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:r}),a&&(0,ee.jsx)("div",{className:"mt-8",children:(0,ee.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,ee.jsxs)("a",{href:c,children:[a,(0,ee.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,ee.jsx)("div",{className:"absolute bottom-0 right-0 ee-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 se=({title:e,description:t,features:o,id:n})=>(0,ee.jsxs)("section",{className:d("container ee-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,ee.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,ee.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,ee.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,ee.jsx)(B,{content:t,enableGutter:!1})}),(0,ee.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((s,r)=>{var l,a,c,p,u;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,ee.jsx)($t,{section:s,index:r},r);{let h=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,ee.jsx)(ct,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(p=s.link)!=null&&p.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},r)}})})]}),$t=({section:e,index:t})=>{if(!e)return null;let o=(0,ee.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,ee.jsx)("div",{className:"text-accent h-12 ee-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,ee.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,ee.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,ee.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,ee.jsx)("div",{className:"text-lg opacity-80",children:(0,ee.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,ee.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:o},t):o};var ae=Q(require("react"));var ke=Q(require("next/link")),D=e=>{let{type:t,appearance:o="inline",children:n,className:s,label:r,newTab:l,reference:a,size:c,url:p}=e,u=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}`:p;if(!u)return null;let h=o==="link"?"clear":c,x=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,ee.jsxs)(ke.default,{className:d(s),href:u||p||"",...x,children:[r&&r,n&&n]}):(0,ee.jsx)(G,{asChild:!0,className:s,size:h,variant:o,children:(0,ee.jsxs)(ke.default,{className:d(s),href:u||p||"",...x,children:[r&&r,n&&n]})})};function Y({nodes:e}){return(0,ee.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,ee.jsx)(ae.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,ee.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,ee.jsx)("em",{children:r},o)),t.format&4&&(r=(0,ee.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,ee.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,ee.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,ee.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,ee.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,ee.jsx)("table",{children:(0,ee.jsx)("tbody",{children:t.children.map((r,l)=>(0,ee.jsx)("tr",{children:r.children.map((a,c)=>(0,ee.jsx)("td",{children:Y({nodes:a.children})},c))},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 Y({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,ee.jsx)(le,{...r},o);case"mediaBlock":return(0,ee.jsx)(_,{className:"col-start-1 col-span-3",imgClassName:"ee-0",...r,captionClassName:"mx-auto max-ee-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,ee.jsx)(at,{className:"col-start-1 col-span-3",imgClassName:"ee-0",...r,captionClassName:"mx-auto max-ee-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,ee.jsx)(Qe,{className:"col-start-2 mb-4",...r},o);case"code":return(0,ee.jsx)(Ze,{className:"col-start-2",...r},o);case"features":return(0,ee.jsx)(se,{...r},o);case"reusableContentBlock":Y({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ee.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,ee.jsx)("p",{className:"col-start-2",children:s},o);case"heading":{let r=t==null?void 0:t.tag;return(0,ee.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,ee.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ee.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,ee.jsx)("li",{value:t==null?void 0:t.value,children:s},o);case"quote":return(0,ee.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,ee.jsx)(D,{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,ee.jsx)(D,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var B=({className:e,content:t,enableGutter:o=!0,enableProse:n=!0})=>{var s;return t?(0,ee.jsx)("div",{className:d({"container ":o,"max-ee-none":!o,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Y({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var le=({links:e,richText:t})=>(0,ee.jsx)("div",{className:"container",children:(0,ee.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,ee.jsx)("div",{className:"max-ee-[48rem] flex items-center",children:t&&(0,ee.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,ee.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},n)=>(0,ee.jsx)(D,{size:"lg",...o},n))})]})});var pt=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,ee.jsx)("div",{className:"container my-6",children:(0,ee.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,s)=>{let{enableLink:r,link:l,richText:a,size:c}=n;return(0,ee.jsxs)("div",{className:d(`col-span-4 lg:col-span-${o[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,ee.jsx)(B,{content:a,enableGutter:!1}),r&&(0,ee.jsx)(D,{...l})]},s)})})})};var we={};Me(we,{ReusableContentBlock:()=>ve});var ve=e=>{console.log("ReusableContentBlock:props",e);let{customId:t,reusableContent:o}=e;return console.log("ReusableContentBlock:reusableContent",o),console.log("ReusableContentBlock:object",typeof o=="object"),typeof o=="object"&&o!==null?(0,ee.jsx)(Ce,{blocks:o.layout}):(0,ee.jsx)(ee.Fragment,{})};var Ae={content:pt,cta:le,mediaBlock:_,imageBlock:_,features:se,reusableContentBlock:ve},Ce=e=>{let{blocks:t}=e;return console.log("Blocks:",we),console.log("blockComponents keys:",Object.keys(Ae)),t&&Array.isArray(t)&&t.length>0?(0,ee.jsx)("section",{id:"render-blocks",children:t.map((n,s)=>{var c;let r=require("util");console.log("RenderBlocks:block",r.inspect(n,!1,null,!0));let{blockType:l}=n,a=n==null?void 0:n.theme;if(console.log("RenderBlocks:blockType",r.inspect(l,!1,null,!0)),l&&l in Ae){let p=Ae[l];if(console.log("BLOCK TYPE EXISTS",p),p)return(0,ee.jsxs)("div",{className:"py-6 relative",children:[(0,ee.jsx)(eo,{block:n,index:s}),(0,ee.jsx)("div",{className:d("container",((c=a==null?void 0:a.settings)==null?void 0:c.theme)==="dark"?"dark":""),children:(0,ee.jsx)(p,{...n})})]},s)}return null})}):null},eo=e=>{var o;if(!("theme"in e.block))return null;let t=(o=e.block)==null?void 0:o.theme;if(t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,ee.jsxs)("div",{className:d("absolute inset-0 ee-full h-full -ee-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,ee.jsx)(mt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,ee.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,ee.jsx)("div",{className:d("absolute inset-0 -ee-10 ee-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};0&&(module.exports={RenderBlocks});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a}from"../../chunk-
|
|
1
|
+
import{b as a}from"../../chunk-D2VK2HQD.mjs";import"../../chunk-74KJ5V34.mjs";import"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RenderBlocks};
|