cortex-react-components 1.47.0 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-5BPR3YKT.mjs → chunk-35XLNF3G.mjs} +1 -1
- package/dist/{chunk-W6VKKBUG.mjs → chunk-4GX7CE6Y.mjs} +1 -1
- package/dist/{chunk-ENDXPA4H.mjs → chunk-4NYS3NVA.mjs} +1 -1
- package/dist/chunk-5F7XZ6XK.mjs +1 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-H5DKU4M5.mjs → chunk-6KJKKF7P.mjs} +1 -1
- package/dist/chunk-74KJ5V34.mjs +1 -0
- package/dist/{chunk-DLCGGIZW.mjs → chunk-7FMMXR7S.mjs} +1 -1
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-UDH5ASIW.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-DIPGFDJV.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-Z5PNO5CB.mjs → chunk-B7DV5BIM.mjs} +1 -1
- package/dist/{chunk-QCIJUDO4.mjs → chunk-BI3AMPYD.mjs} +1 -1
- package/dist/{chunk-7SSOLQR5.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-HFSHDEMQ.mjs → chunk-E2LKSCDR.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-KVIQW2PH.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-O7R6EGBU.mjs → chunk-ETZFHPXX.mjs} +1 -1
- package/dist/{chunk-IJU5INGM.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-XGKZLSIS.mjs → chunk-I5EBXVLE.mjs} +1 -1
- package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-TGHOEITH.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-US6CSL53.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-3ODCIQYB.mjs → chunk-MLLI6A3T.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-ZLEW2CSB.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/{chunk-HHUI6PDP.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/{chunk-GT43S672.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContent.js +1 -1
- package/dist/components/Blocks/ReusableContent.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/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.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +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.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +186 -186
- 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.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-G6K3PK47.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"../chunk-
|
|
1
|
+
import{a as l}from"../chunk-I5EBXVLE.mjs";import{a as s}from"../chunk-VXZJ3JK5.mjs";import"../chunk-4DJ6HKHR.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-RZTXT4UD.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-GHBJK554.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import{d as a}from"../chunk-S7OK7D5I.mjs";var i=a(s());import{PhoneIcon as c,PlayCircleIcon as d,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{ChartPieIcon as u,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as e,jsxs as n}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var g=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),b=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),I={title:"Example Pages/LandingPage",component:l,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},y=o=>e(l,{...o}),r={render:y,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:n("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Storage Service",subtitle:"A scalable object storage service that offers industry-leading performance, security, and availability.",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:f},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:g},{name:"Products",description:"Products that we sell",href:"#",icon:b}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:u},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:d},{name:"Contact sales",href:"#",icon:c},{name:"View all products",href:"#",icon:m}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},A={args:{...r.args,header:{title:"Page Title",subtitle:n("div",{children:[e("p",{className:"text-xl font-bold",children:"A load of text here"}),e("br",{}),e("p",{className:"text-2xl font-bold",children:"A load more text here"})]})}}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},C={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,C as HighImpactHero,A as HtmlSubtitle,P as MediumImpactHero,_ as PostHero,I as default};
|
package/dist/pages/Page.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var gr=Object.create;var fe=Object.defineProperty;var fr=Object.getOwnPropertyDescriptor;var br=Object.getOwnPropertyNames;var hr=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty;var xr=(e,t)=>{for(var r in t)fe(e,r,{get:t[r],enumerable:!0})},nt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of br(t))!yr.call(e,n)&&n!==r&&fe(e,n,{get:()=>t[n],enumerable:!(a=fr(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?gr(hr(e)):{},nt(t||!e||!e.__esModule?fe(r,"default",{value:e,enumerable:!0}):r,e)),vr=e=>nt(fe({},"__esModule",{value:!0}),e);var po={};xr(po,{default:()=>ur});module.exports=vr(po);var j=D(require("react"));var gt=require("clsx");var Ue="-",kr=e=>{let t=Cr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Ue);return s[0]===""&&s.length!==1&&s.shift(),lt(s,t)||wr(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},lt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?lt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ue);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},st=/^\[(.+)\]$/,wr=e=>{if(st.test(e)){let t=st.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Cr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Pr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Oe(i,a,o,t)}),a},Oe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:it(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Nr(n)){Oe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Oe(i,it(t,o),r,a)})})},it=(e,t)=>{let r=e;return t.split(Ue).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Nr=e=>e.isThemeGetter,Pr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,Sr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},ct="!",Tr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],p=0,g=0,v;for(let C=0;C<s.length;C++){let P=s[C];if(p===0){if(P===n&&(a||s.slice(C,C+o)===t)){c.push(s.slice(g,C)),g=C+o;continue}if(P==="/"){v=C;continue}}P==="["?p++:P==="]"&&p--}let f=c.length===0?s:s.substring(g),k=f.startsWith(ct),M=k?f.substring(1):f,w=v&&v>g?v-g:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:M,maybePostfixModifierPosition:w}};return r?s=>r({className:s,parseClassName:i}):i},Rr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ir=e=>({cache:Sr(e.cacheSize),parseClassName:Tr(e),...kr(e)}),Br=/\s+/,Ar=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Br),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:g,hasImportantModifier:v,baseClassName:f,maybePostfixModifierPosition:k}=r(p),M=!!k,w=a(M?f.substring(0,k):f);if(!w){if(!M){s=p+(s.length>0?" "+s:s);continue}if(w=a(f),!w){s=p+(s.length>0?" "+s:s);continue}M=!1}let C=Rr(g).join(":"),P=v?C+ct:C,B=P+w;if(o.includes(B))continue;o.push(B);let _=n(w,M);for(let X=0;X<_.length;++X){let me=_[X];o.push(P+me)}s=p+(s.length>0?" "+s:s)}return s};function Mr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=dt(t))&&(a&&(a+=" "),a+=r);return a}var dt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=dt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Dr(e,...t){let r,a,n,o=i;function i(c){let p=t.reduce((g,v)=>v(g),e());return r=Ir(p),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let p=a(c);if(p)return p;let g=Ar(c,r);return n(c,g),g}return function(){return o(Mr.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},pt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Hr=/^\d+\/\d+$/,Fr=new Set(["px","full","screen"]),Lr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Q|i|Q|min|max))|\Q(calc|min|max|clamp)\(.+\)|^0$/,Er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>q(e)||Fr.has(e)||Hr.test(e),J=e=>Z(e,"length",Qr),q=e=>!!e&&!Number.isNaN(Number(e)),Ge=e=>Z(e,"number",q),ae=e=>!!e&&Number.isInteger(Number(e)),Ur=e=>e.endsWith("%")&&q(e.slice(0,-1)),d=e=>pt.test(e),V=e=>Lr.test(e),Jr=new Set(["length","size","percentage"]),Vr=e=>Z(e,Jr,mt),Yr=e=>Z(e,"position",mt),_r=new Set(["image","url"]),Xr=e=>Z(e,_r,Kr),jr=e=>Z(e,"",$r),ne=()=>!0,Z=(e,t,r)=>{let a=pt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Qr=e=>zr.test(e)&&!Er.test(e),mt=()=>!1,$r=e=>Gr.test(e),Kr=e=>Or.test(e);var Wr=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),i=y("borderSpacing"),s=y("borderWidth"),c=y("contrast"),p=y("grayscale"),g=y("hueRotate"),v=y("invert"),f=y("gap"),k=y("gradientColorStops"),M=y("gradientColorStopPositions"),w=y("inset"),C=y("margin"),P=y("opacity"),B=y("padding"),_=y("saturate"),X=y("scale"),me=y("sepia"),qe=y("skew"),Ze=y("space"),et=y("translate"),Fe=()=>["auto","contain","none"],Le=()=>["auto","hidden","clip","visible","scroll"],ze=()=>["auto",d,t],x=()=>[d,t],tt=()=>["",E,J],ue=()=>["auto",q,d],rt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ge=()=>["solid","dashed","dotted","double","none"],ot=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ee=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",d],at=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[q,d];return{cacheSize:500,separator:":",theme:{colors:[ne],spacing:[E,J],blur:["none","",V,d],brightness:z(),borderColor:[e],borderRadius:["none","","full",V,d],borderSpacing:x(),borderWidth:tt(),contrast:z(),grayscale:oe(),hueRotate:z(),invert:oe(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Ur,J],inset:ze(),margin:ze(),opacity:z(),padding:x(),saturate:z(),scale:z(),sepia:oe(),skew:z(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":at()}],"break-before":[{"break-before":at()}],"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:[...rt(),d]}],overflow:[{overflow:Le()}],"overflow-x":[{"overflow-x":Le()}],"overflow-y":[{"overflow-y":Le()}],overscroll:[{overscroll:Fe()}],"overscroll-x":[{"overscroll-x":Fe()}],"overscroll-y":[{"overscroll-y":Fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ae,d]}],basis:[{basis:ze()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",ae,d]}],"grid-cols":[{"grid-cols":[ne]}],"col-start-end":[{col:["auto",{span:["full",ae,d]},d]}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":[ne]}],"row-start-end":[{row:["auto",{span:[ae,d]},d]}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...Ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],Q:[{Q:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],Q:[{Q:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[Ze]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ze]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[V]},V]}],Q:[{Q:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Q":[{"min-Q":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-Q":[{"max-Q":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",V,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ge]}],"font-family":[{font:[ne]}],"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",d]}],"line-clamp":[{"line-clamp":["none",q,Ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,J]}],"underline-offset":[{"underline-offset":["auto",E,d]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...rt(),Yr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Q","bl","l","tl"]},Xr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Q":[{"rounded-Q":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Q":[{"rounded-Q":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-Q":[{"border-Q":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...ge(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:ge()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-Q":[{"border-Q":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ge()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,J]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:tt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[E,J]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",V,jr]}],"shadow-color":[{shadow:[ne]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ot(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ot()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",V,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[_]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-x":[{"scale-x":[X]}],"scale-y":[{"scale-y":[X]}],rotate:[{rotate:[ae,d]}],"translate-x":[{"translate-x":[et]}],"translate-y":[{"translate-y":[et]}],"skew-x":[{"skew-x":[qe]}],"skew-y":[{"skew-y":[qe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Q-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Q":[{"scroll-Q":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-Q":[{"scroll-Q":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,J,Ge]}],stroke:[{stroke:[e,"none"]}],te:["te-only","not-te-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","Q","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Q:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","Q"],"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-Q","rounded-l","rounded-ss","rounded-Q","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Q","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Q":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Q","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-Q"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Q","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-Q"],"scroll-Q":["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-Q","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 ut=Dr(Wr);function l(...e){return ut((0,gt.clsx)(e))}var Q=require("react/jsx-runtime"),be=j.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));be.displayName="Card";var he=j.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));he.displayName="CardHeader";var ye=j.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ye.displayName="CardTitle";var qr=j.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));qr.displayName="CardDescription";var xe=j.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));xe.displayName="CardContent";var Zr=j.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Zr.displayName="CardFooter";var ft=require("@radix-ui/react-slot"),bt=require("class-variance-authority"),ht=D(require("react")),eo=(0,bt.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:"Q-10 px-4 py-2",icon:"Q-10 w-10",lg:"Q-11 rounded px-8",sm:"Q-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=ht.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Q.jsx)(e?ft.Slot:"button",{className:l(eo({className:t,size:r,variant:a})),ref:o,...n}));G.displayName="Button";var He=require("lucide-react");var xt=({className:e,content:t,style:r})=>(0,Q.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Q.jsx)("div",{className:l("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,Q.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Je=D(require("next/link")),O=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:p}=e,g=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!g)return null;let v=r==="link"?"clear":c,f=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Q.jsxs)(Je.default,{className:l(n),href:g||p||"",...f,children:[o&&o,a&&a]}):(0,Q.jsx)(G,{asChild:!0,className:n,size:v,variant:r,children:(0,Q.jsxs)(Je.default,{className:l(n),href:g||p||"",...f,children:[o&&o,a&&a]})})};var ke=({links:e,richText:t})=>(0,Q.jsx)("div",{className:"container",children:(0,Q.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,Q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Q.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,Q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Q.jsx)(O,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");var kt=require("react");function wt({code:e}){let[t,r]=(0,kt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"w-6 Q-6 dark:invert",children:(0,$.jsx)(He.ClipboardCopy,{})})]})})}var Ct=({code:e,language:t=""})=>e?(0,Q.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,Q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Q.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Q.jsx)("span",{...a({token:s})},c))})]},i)),(0,Q.jsx)(wt,{code:e})]})}):null;var Nt=({className:e,code:t,language:r})=>(0,Q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Q.jsx)(Ct,{code:t,language:r})});var St=D(require("next/image")),to={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Pt="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:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,p,g,v=t,f=s||"";if(!f&&o&&typeof o=="object"){let{alt:w,filename:C,height:P,url:B,width:_}=o;p=_,g=P,v=w||"",f=B||Pt}let k=c||"lazy",M=i||Object.entries(to).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,Q.jsx)("picture",{children:(0,Q.jsx)(St.default,{alt:v||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Pt,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:M,src:f,width:r?void 0:p})})};var Rt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var It=()=>{if(Rt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Bt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,kt.useRef)(null);if((0,kt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Q.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Q.jsx)("source",{src:`${It()}/media/${o}`})})}return null};var ee=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Q.jsx)(r||kt.Fragment,{...r!==null?{className:t}:{},children:n?(0,Q.jsx)(Bt,{...e}):(0,Q.jsx)(Tt,{...e})})};var ie=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Q.jsx)("div",{className:l("",{container:r},t),children:(0,Q.jsx)(ee,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Mt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Q.jsx)("div",{className:l("",{container:r},t),children:(0,Q.jsx)(ee,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Pe=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,Q.jsx)("i",{className:s})};var Ft=(0,bt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Qe({className:e,variant:t,...r}){return(0,Q.jsx)("div",{className:l(Ft({variant:t}),e),...r})}var zt=D(require("next/link"));function Et({children:e,href:t,openNewTab:r,...a}){return(0,Q.jsx)(zt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function ro(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ot({variant:e="light",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){let p={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"};return console.log("content",typeof o),(0,Q.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",p[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,Q.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,Q.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:ro(r)?(0,Q.jsx)(Pe,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,Q.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,Q.jsx)("div",{className:"mb-6",children:(0,Q.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),n&&(0,Q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,Q.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,Q.jsx)(R,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,Q.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,Q.jsx)("div",{className:"mt-8",children:(0,Q.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,Q.jsxs)("a",{href:c,children:[s,(0,Q.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,Q.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 Q-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:a})=>(0,Q.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,Q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Q.jsx)(R,{content:t,enableGutter:!1})}),(0,Q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var i,s,c,p,g;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,Q.jsx)(oo,{section:n,index:o},o);{let v=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,Q.jsx)(Ot,{variant:((s=n.settings)==null?void 0:s.card)==="default"?"solid":((c=n.settings)==null?void 0:c.card)||"solid",icon:v()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(p=n.link)!=null&&p.url?"Find out more":void 0,buttonHref:((g=n.link)==null?void 0:g.url)||void 0},o)}})})]}),oo=({section:e,index:t})=>{if(!e)return null;let r=(0,Q.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,Q.jsx)("div",{className:"text-accent Q-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Q.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,Q.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,Q.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,Q.jsx)("div",{className:"text-lg opacity-80",children:(0,Q.jsx)(R,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,Q.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Vt=D(require("next/image"));var Ut=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Q.jsx)("div",{className:"container my-6",children:(0,Q.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((a,n)=>{let{enableLink:o,link:i,richText:s,size:c}=a;return(0,Q.jsxs)("div",{className:l(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,Q.jsx)(R,{content:s,enableGutter:!1}),o&&(0,Q.jsx)(O,{...i})]},n)})})})};var Jt={content:Ut,cta:ke,mediaBlock:ie,imageBlock:ie,features:Se,reusableContentBlock:Te},Yt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Q.jsx)("section",{id:"render-blocks",children:t.map((a,n)=>{var s;let{blockType:o}=a,i=a==null?void 0:a.theme;if(o&&o in Jt){let c=Jt[o];if(c)return(0,Q.jsxs)("div",{className:"py-6 relative",children:[(0,Q.jsx)(ao,{block:a,index:n}),(0,Q.jsx)("div",{className:l("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,Q.jsx)(c,{...a})})]},n)}return null})}):null},ao=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",a),(0,Q.jsxs)("div",{className:l("absolute inset-0 w-full Q-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,Q.jsx)(Vt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,Q.jsx)("div",{className:"absolute inset-0",style:{background:a.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,Q.jsx)("div",{className:l("absolute inset-0 -z-10 w-screen Q-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Te=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,Q.jsx)(Yt,{blocks:r.layout}):(0,Q.jsx)(Q.Fragment,{})};var Ie=D(require("react"));function Re({nodes:e}){return(0,Q.jsx)(Ie.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Q.jsx)(Ie.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Q.jsx)("table",{children:(0,Q.jsx)("tbody",{children:t.children.map((o,i)=>(0,Q.jsx)("tr",{children:o.children.map((s,c)=>(0,Q.jsx)("td",{children:Re({nodes:s.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Re({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Q.jsx)(ke,{...o},r);case"mediaBlock":return(0,Q.jsx)(ie,{className:"col-start-1 col-span-3",imgClassName:"Q-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Q.jsx)(Mt,{className:"col-start-1 col-span-3",imgClassName:"Q-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Q.jsx)(xt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Q.jsx)(Nt,{className:"col-start-2",...o},r);case"features":return(0,Q.jsx)(Se,{...o},r);case"reusableContentBlock":return(0,Q.jsx)(Te,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,Q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Q.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Q.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Q.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Q.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Q.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,Q.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Q.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Re({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Xt=({children:e,richText:t})=>(0,Q.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Q.jsx)("div",{className:"container",children:e||t&&(0,Q.jsx)(R,{content:t,enableGutter:!1})})});var $e=D(require("next/image"));var no=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Q.jsx)($e.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Q.jsx)("div",{children:(0,Q.jsx)($e.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},jt=({links:e,media:t,children:r,richText:a})=>(0,Q.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Q.jsx)(no,{media:t}),(0,Q.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Q.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Q.jsx)(R,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Qt=D(require("next/image"));var $t=({links:e,media:t,children:r,richText:a})=>(0,Q.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Q.jsx)("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:(0,Q.jsxs)("div",{className:"text-center container",children:[r||a&&(0,Q.jsx)(R,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Q.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Q.jsx)("li",{children:(0,Q.jsx)(O,{...n})},o))})]})}),(0,Q.jsxs)("div",{className:"min-Q-96 select-none",children:[t&&typeof t=="object"&&(0,Q.jsx)(ee,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Q.jsx)("div",{children:(0,Q.jsx)(Qt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Q.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Wt=D(require("react")),qt=D(require("next/image"));var Kt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var Zt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Q.jsxs)("div",{className:"relative grid",children:[(0,Q.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-Q-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,Q.jsxs)("div",{className:"container mx-auto",children:[(0,Q.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Q.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Q.jsx)("p",{children:a.map((s,c)=>(0,Q.jsxs)(Wt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Q.jsx)("time",{dateTime:n,children:Kt(n)})]}),t&&t.length>0&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,Q.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Q.jsx)(Qe,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Q.jsxs)("div",{className:"absolute inset-0 w-full Q-full",children:[(0,Q.jsx)(qt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Q.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Q-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var te=require("@headlessui/react"),tr=require("@heroicons/react/20/solid");var so=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,Q.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Q.jsxs)("span",{className:"relative",children:[e,(0,Q.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Q-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Q.jsxs)(te.Popover,{children:[(0,Q.jsxs)(te.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Q.jsxs)("span",{className:"relative",children:[e,(0,Q.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Q-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Q.jsx)(tr.ChevronDownIcon,{"aria-hidden":"true",className:"Q-5 w-5 flex-none text-accent"})]}),(0,Q.jsxs)(te.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Q.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(n=>(0,Q.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Q.jsx)("div",{className:"flex Q-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,Q.jsx)(er,{icon:n.icon,size:"4x"})}),(0,Q.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,Q.jsx)("span",{className:"absolute inset-0"})]}),(0,Q.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,Q.jsx)("div",{className:"bg-gray-50",children:(0,Q.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Q.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,Q.jsxs)("a",{href:n.href,className:"flex items-center max-Q-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,Q.jsx)(er,{icon:n.icon,className:"Q-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),er=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Q.jsx)(Pe,{...e,size:r});if("src"in e)return(0,Q.jsx)("div",{className:l(t,"Q-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Q.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},rr=so;function or({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,Q.jsx)("div",{className:n,children:e})}var Ke=D(require("next/image"));function de({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Q.jsxs)(Et,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,Q.jsx)(Ke.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,Q.jsx)(Ke.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var nr=require("next-themes");function ir({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,kt.useState)(!1),[i,s]=(0,kt.useState)(""),c=["light","dark"],{theme:p,setTheme:g}=(0,nr.useTheme)();(0,kt.useEffect)(()=>{s(p||"dark")},[p]);let v=()=>{let f=c[(c.indexOf(i)+1)%c.length];s(f),g(f)};return(0,kt.useEffect)(()=>{let f=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Q.jsx)(or,{className:"px-0",children:(0,Q.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-Q-xl",children:(0,Q.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-Q-xl border border-t-0 border-accent",children:[(0,Q.jsx)(de,{logoDark:r,logoLight:t}),(0,Q.jsx)(te.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(f=>(0,Q.jsx)(rr,{...f},f.name))}),(0,Q.jsx)("div",{className:"flex items-center space-x-4",children:(0,Q.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:v,children:(0,Q.jsxs)("div",{className:"relative",children:[(0,Q.jsx)(He.Sun,{className:"absolute Q-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Q.jsx)(He.Moon,{className:"absoulte Q-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Me=require("@heroicons/react/24/outline");var We=["light","dark"];function cr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,kt.useState)(!1),{theme:i,setTheme:s}=(0,nr.useTheme)(),[c,p]=(0,kt.useState)(!1),[g,v]=(0,kt.useState)("light");(0,kt.useEffect)(()=>{let k=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",k,{passive:!0}),()=>window.removeEventListener("scroll",k)},[]),(0,kt.useEffect)(()=>{v(i||"dark")},[i]);let f=()=>{let k=We[(We.indexOf(g)+1)%We.length];v(k),s(k)};return(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Q.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,Q.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Q dark:border-accent",children:[(0,Q.jsx)(de,{logoDark:t,logoLight:e,mobile:!0}),(0,Q.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Q.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Q.jsx)("span",{className:"te-only",children:"Open main menu"}),(0,Q.jsx)(Me.Bars3Icon,{"aria-hidden":"true",className:"Q-4 w-4"})]}),(0,Q.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:f,children:(0,Q.jsxs)("div",{className:"relative",children:[(0,Q.jsx)(He.Sun,{className:"absolute Q-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Q.jsx)(He.Moon,{className:"absoulte Q-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Q.jsxs)(te.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,Q.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Q.jsxs)(te.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Q.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Q.jsx)(de,{logoDark:t,logoLight:e,mobile:!0}),(0,Q.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-Q-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Q.jsx)("span",{className:"te-only",children:"Close menu"}),(0,Q.jsx)(Me.XMarkIcon,{"aria-hidden":"true",className:"Q-6 w-6"})]})]}),(0,Q.jsx)("div",{className:"mt-6 flow-root",children:(0,Q.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Q.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(k=>(0,Q.jsx)(io,{...k},k.name))})})})]})]})]})})}function io({name:e,items:t,actions:r,href:a}){return!t&&a?(0,Q.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Q.jsxs)(te.Disclosure,{as:"div",className:"-mx-3",children:[(0,Q.jsx)(te.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Q.jsx)(te.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,Q.jsx)(te.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function dr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,Q.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,Q.jsx)(ir,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,Q.jsx)(cr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var pr="../cortex-reply-light-27IMI3G7.png";var mr="../cortex-reply-dark-XPAJJJYY.png";function ur({...e}){return(0,Q.jsxs)("div",{children:[(0,Q.jsx)(dr,{isMenuOpen:!0,logoLight:pr,logoDark:mr,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,Q.jsx)(Xt,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Q.jsx)(jt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Q.jsx)($t,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Q.jsx)(Zt,{...e.hero}),(0,Q.jsx)("div",{className:"container py-8",children:(0,Q.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Q.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Q.jsxs)("div",{className:"space-y-6",children:[(0,Q.jsxs)(be,{children:[(0,Q.jsx)(he,{children:(0,Q.jsx)(ye,{children:"Quick Actions"})}),(0,Q.jsxs)(xe,{children:[(0,Q.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Q.jsx)(G,{className:"w-full",children:"Create New"})]})]}),(0,Q.jsxs)(be,{children:[(0,Q.jsx)(he,{children:(0,Q.jsx)(ye,{children:"Resources"})}),(0,Q.jsx)(xe,{children:(0,Q.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Q.jsx)(He.ExternalLink,{className:"ml-1 Q-3 w-3"})]}),(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Q.jsx)(He.ExternalLink,{className:"ml-1 Q-3 w-3"})]}),(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Q.jsx)(He.ExternalLink,{className:"ml-1 Q-3 w-3"})]})]})})]})]})]})})]})}
|
|
4
|
+
"use strict";"use client";var sr=Object.create;var me=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var lr=Object.getOwnPropertyNames;var cr=Object.getPrototypeOf,dr=Object.prototype.hasOwnProperty;var pr=(e,t)=>{for(var r in t)me(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lr(t))!dr.call(e,n)&&n!==r&&me(e,n,{get:()=>t[n],enumerable:!(a=ir(t,n))||a.enumerable});return e};var M=(e,t,r)=>(r=e!=null?sr(cr(e)):{},qe(t||!e||!e.__esModule?me(r,"default",{value:e,enumerable:!0}):r,e)),mr=e=>qe(me({},"__esModule",{value:!0}),e);var to={};pr(to,{default:()=>nr});module.exports=mr(to);var _=M(require("react"));var it=require("clsx");var He="-",ur=e=>{let t=fr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(He);return s[0]===""&&s.length!==1&&s.shift(),tt(s,t)||gr(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},tt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?tt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(He);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ze=/^\[(.+)\]$/,gr=e=>{if(Ze.test(e)){let t=Ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return hr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:et(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(br(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,et(t,o),r,a)})})},et=(e,t)=>{let r=e;return t.split(He).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},br=e=>e.isThemeGetter,hr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},rt="!",xr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],p=0,u=0,v;for(let N=0;N<s.length;N++){let P=s[N];if(p===0){if(P===n&&(a||s.slice(N,N+o)===t)){c.push(s.slice(u,N)),u=N+o;continue}if(P==="/"){v=N;continue}}P==="["?p++:P==="]"&&p--}let g=c.length===0?s:s.substring(u),w=g.startsWith(rt),D=w?g.substring(1):g,k=v&&v>u?v-u:void 0;return{modifiers:c,hasImportantModifier:w,baseClassName:D,maybePostfixModifierPosition:k}};return r?s=>r({className:s,parseClassName:i}):i},vr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},wr=e=>({cache:yr(e.cacheSize),parseClassName:xr(e),...ur(e)}),kr=/\s+/,Nr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(kr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:u,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:w}=r(p),D=!!w,k=a(D?g.substring(0,w):g);if(!k){if(!D){s=p+(s.length>0?" "+s:s);continue}if(k=a(g),!k){s=p+(s.length>0?" "+s:s);continue}D=!1}let N=vr(u).join(":"),P=v?N+rt:N,R=P+k;if(o.includes(R))continue;o.push(R);let V=n(k,D);for(let Y=0;Y<V.length;++Y){let ce=V[Y];o.push(P+ce)}s=p+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ot(t))&&(a&&(a+=" "),a+=r);return a}var ot=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ot(e[a]))&&(r&&(r+=" "),r+=t);return r};function Pr(e,...t){let r,a,n,o=i;function i(c){let p=t.reduce((u,v)=>v(u),e());return r=wr(p),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let p=a(c);if(p)return p;let u=Nr(c,r);return n(c,u),u}return function(){return o(Cr.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},at=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sr=/^\d+\/\d+$/,Tr=new Set(["px","full","screen"]),Ir=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ar=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|j|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|j|i|j|min|max))|\j(calc|min|max|clamp)\(.+\)|^0$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>K(e)||Tr.has(e)||Sr.test(e),O=e=>W(e,"length",Or),K=e=>!!e&&!Number.isNaN(Number(e)),De=e=>W(e,"number",K),re=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&K(e.slice(0,-1)),d=e=>at.test(e),U=e=>Ir.test(e),Hr=new Set(["length","size","percentage"]),Lr=e=>W(e,Hr,nt),Fr=e=>W(e,"position",nt),zr=new Set(["image","url"]),Er=e=>W(e,zr,Jr),Gr=e=>W(e,"",Ur),oe=()=>!0,W=(e,t,r)=>{let a=at.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Or=e=>Ar.test(e)&&!Rr.test(e),nt=()=>!1,Ur=e=>Br.test(e),Jr=e=>Dr.test(e);var Vr=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),i=y("borderSpacing"),s=y("borderWidth"),c=y("contrast"),p=y("grayscale"),u=y("hueRotate"),v=y("invert"),g=y("gap"),w=y("gradientColorStops"),D=y("gradientColorStopPositions"),k=y("inset"),N=y("margin"),P=y("opacity"),R=y("padding"),V=y("saturate"),Y=y("scale"),ce=y("sepia"),_e=y("skew"),je=y("space"),Xe=y("translate"),Ie=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",d,t],x=()=>[d,t],Qe=()=>["",z,O],de=()=>["auto",K,d],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pe=()=>["solid","dashed","dotted","double","none"],Ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",d],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[K,d];return{cacheSize:500,separator:":",theme:{colors:[oe],spacing:[z,O],blur:["none","",U,d],brightness:F(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:x(),borderWidth:Qe(),contrast:F(),grayscale:te(),hueRotate:F(),invert:te(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Mr,O],inset:Re(),margin:Re(),opacity:F(),padding:x(),saturate:F(),scale:F(),sepia:te(),skew:F(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"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:[...$e(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-y":[{"overflow-y":Ae()}],overscroll:[{overscroll:Ie()}],"overscroll-x":[{"overscroll-x":Ie()}],"overscroll-y":[{"overscroll-y":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-y":[{"inset-y":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",re,d]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",re,d]}],"grid-cols":[{"grid-cols":[oe]}],"col-start-end":[{col:["auto",{span:["full",re,d]},d]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[oe]}],"row-start-end":[{row:["auto",{span:[re,d]},d]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],j:[{j:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],j:[{j:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-x":[{"space-x":[je]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[je]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],j:[{j:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-j":[{"min-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-j":[{"max-j":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[oe]}],"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",d]}],"line-clamp":[{"line-clamp":["none",K,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,O]}],"underline-offset":[{"underline-offset":["auto",z,d]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),Fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","j","bl","l","tl"]},Er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-ft":[{"rounded-ft":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-j":[{"border-j":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...pe(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:pe()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-j":[{"border-j":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...pe()]}],"outline-offset":[{"outline-offset":[z,d]}],"outline-w":[{outline:[z,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[z,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Gr]}],"shadow-color":[{shadow:[oe]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[V]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-x":[{"scale-x":[Y]}],"scale-y":[{"scale-y":[Y]}],rotate:[{rotate:[re,d]}],"translate-x":[{"translate-x":[Xe]}],"translate-y":[{"translate-y":[Xe]}],"skew-x":[{"skew-x":[_e]}],"skew-y":[{"skew-y":[_e]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","j-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-j":[{"scroll-j":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-j":[{"scroll-j":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,O,De]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","j","pr","pb","pl"],px:["pr","pl"],py:["j","pb"],j:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","j"],"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-j","rounded-l","rounded-ss","rounded-j","rounded-ft","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-j","rounded-ft"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-j":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-j","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-j"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-j","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-j"],"scroll-j":["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-j","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-j","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=Pr(Vr);function l(...e){return st((0,it.clsx)(e))}var j=require("react/jsx-runtime"),ue=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ue.displayName="Card";var ge=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));ge.displayName="CardHeader";var fe=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));fe.displayName="CardTitle";var Yr=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Yr.displayName="CardDescription";var be=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("p-6 j-0",e),...t}));be.displayName="CardContent";var _r=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:l("flex items-center p-6 j-0",e),...t}));_r.displayName="CardFooter";var lt=require("@radix-ui/react-slot"),ct=require("class-variance-authority"),dt=M(require("react")),jr=(0,ct.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:"j-10 px-4 py-2",icon:"j-10 w-10",lg:"j-11 rounded px-8",sm:"j-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"}}}),E=dt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?lt.Slot:"button",{className:l(jr({className:t,size:r,variant:a})),ref:o,...n}));E.displayName="Button";var Te=require("lucide-react");var mt=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,j.jsx)("div",{className:l("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,j.jsx)(A,{content:t,enableGutter:!1,enableProse:!1})})});var Le=M(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:p}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!u)return null;let v=r==="link"?"clear":c,g=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Le.default,{className:l(n),href:u||p||"",...g,children:[o&&o,a&&a]}):(0,j.jsx)(E,{asChild:!0,className:n,size:v,variant:r,children:(0,j.jsxs)(Le.default,{className:l(n),href:u||p||"",...g,children:[o&&o,a&&a]})})};var ut=({links:e,richText:t})=>(0,j.jsx)("div",{className:"container",children:(0,j.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,j.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,j.jsx)(A,{className:"mb-0",content:t,enableGutter:!1})}),(0,j.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,j.jsx)(X,{size:"lg",...r},a))})]})});var ye=require("prism-react-renderer");var ft=require("react");function bt({code:e}){let[t,r]=(0,ft.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,j.jsx)("div",{className:"flex justify-end align-middle",children:(0,j.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("p",{children:t}),(0,j.jsx)("div",{className:"w-6 j-6 dark:invert",children:(0,j.jsx)(Te.ClipboardCopy,{})})]})})}var ht=({code:e,language:t=""})=>e?(0,j.jsx)(ye.Highlight,{code:e,language:t,theme:ye.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,j.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,j.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,j.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,j.jsx)("span",{...a({token:s})},c))})]},i)),(0,j.jsx)(bt,{code:e})]})}):null;var yt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(ht,{code:t,language:r})});var vt=M(require("next/image")),Xr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},xt="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=",wt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,p,u,v=t,g=s||"";if(!g&&o&&typeof o=="object"){let{alt:k,filename:N,height:P,url:R,width:V}=o;p=V,u=P,v=k||"",g=R||xt}let w=c||"lazy",D=i||Object.entries(Xr).map(([,k])=>`(max-width: ${k}px) ${k*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(vt.default,{alt:v||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:xt,priority:w!=="lazy"&&n,quality:100,loading:w,sizes:D,src:g,width:r?void 0:p})})};var kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Nt=()=>{if(kt){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 Ct=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ft.useRef)(null);if((0,ft.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,j.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:`${Nt()}/media/${o}`})})}return null};var q=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,j.jsx)(r||ft.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(Ct,{...e}):(0,j.jsx)(wt,{...e})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("",{container:r},t),children:(0,j.jsx)(q,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Tt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:l("",{container:r},t),children:(0,j.jsx)(q,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var we=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,j.jsx)("i",{className:s})};var Rt=(0,ct.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ue({className:e,variant:t,...r}){return(0,j.jsx)("div",{className:l(Rt({variant:t}),e),...r})}var Dt=M(require("next/link"));function Mt({children:e,href:t,openNewTab:r,...a}){return(0,j.jsx)(Dt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Qr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Lt({variant:e="light",className:t,icon:r,heading:a,subheading:n,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,j.jsxs)("div",{className:l("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,j.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,j.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Qr(r)?(0,j.jsx)(we,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,j.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,j.jsx)("div",{className:"mb-6",children:(0,j.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),n&&(0,j.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),o&&typeof o=="object"&&(0,j.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,j.jsx)(A,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,j.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,j.jsx)("div",{className:"mt-8",children:(0,j.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,j.jsxs)("a",{href:c,children:[s,(0,j.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,j.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 j-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 Ft=({title:e,description:t,features:r,id:a})=>(0,j.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,j.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,j.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,j.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,j.jsx)(A,{content:t,enableGutter:!1})}),(0,j.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{var i,s,c,p,u;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,j.jsx)($r,{section:n,index:o},o);{let v=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,j.jsx)(Lt,{variant:((s=n.settings)==null?void 0:s.card)==="default"?"solid":((c=n.settings)==null?void 0:c.card)||"solid",icon:v()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(p=n.link)!=null&&p.url?"Find out more":void 0,buttonHref:((u=n.link)==null?void 0:u.url)||void 0},o)}})})]}),$r=({section:e,index:t})=>{if(!e)return null;let r=(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,j.jsx)("div",{className:"text-accent j-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,j.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,j.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,j.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,j.jsx)("div",{className:"text-lg opacity-80",children:(0,j.jsx)(A,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,j.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var ke=M(require("react"));function ne({nodes:e}){return(0,j.jsx)(ke.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,j.jsx)(ke.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,j.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,j.jsx)("em",{children:o},r)),t.format&4&&(o=(0,j.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,j.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,j.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,j.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,j.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:t.children.map((o,i)=>(0,j.jsx)("tr",{children:o.children.map((s,c)=>(0,j.jsx)("td",{children:ne({nodes:s.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ne({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,j.jsx)(ut,{...o},r);case"mediaBlock":return(0,j.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,j.jsx)(Tt,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(mt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(yt,{className:"col-start-2",...o},r);case"features":return(0,j.jsx)(Ft,{...o},r);case"reusableContentBlock":ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,j.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,j.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,j.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,j.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,j.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,j.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,j.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var A=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,j.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Et=({children:e,richText:t})=>(0,j.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,j.jsx)("div",{className:"container",children:e||t&&(0,j.jsx)(A,{content:t,enableGutter:!1})})});var Je=M(require("next/image"));var Kr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,j.jsx)(Je.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,j.jsx)("div",{children:(0,j.jsx)(Je.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Gt=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 j-10",children:[t&&(0,j.jsx)(Kr,{media:t}),(0,j.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,j.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,j.jsx)(A,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ot=M(require("next/image"));var Ut=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,j.jsx)("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:(0,j.jsxs)("div",{className:"text-center container",children:[r||a&&(0,j.jsx)(A,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,j.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,j.jsx)("li",{children:(0,j.jsx)(X,{...n})},o))})]})}),(0,j.jsxs)("div",{className:"min-j-96 select-none",children:[t&&typeof t=="object"&&(0,j.jsx)(q,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Ot.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,j.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Vt=M(require("react")),Yt=M(require("next/image"));var Jt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var _t=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,j.jsxs)("div",{className:"relative grid",children:[(0,j.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-j-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,j.jsxs)("div",{className:"container mx-auto",children:[(0,j.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,j.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,j.jsx)("p",{children:a.map((s,c)=>(0,j.jsxs)(Vt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,j.jsx)("time",{dateTime:n,children:Jt(n)})]}),t&&t.length>0&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,j.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,j.jsx)(Ue,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,j.jsxs)("div",{className:"absolute inset-0 w-full j-full",children:[(0,j.jsx)(Yt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,j.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full j-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Z=require("@headlessui/react"),Xt=require("@heroicons/react/20/solid");var Wr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,j.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 j-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,j.jsxs)(Z.Popover,{children:[(0,j.jsxs)(Z.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 j-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,j.jsx)(Xt.ChevronDownIcon,{"aria-hidden":"true",className:"j-5 w-5 flex-none text-accent"})]}),(0,j.jsxs)(Z.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,j.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(n=>(0,j.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,j.jsx)("div",{className:"flex j-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,j.jsx)(jt,{icon:n.icon,size:"4x"})}),(0,j.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,j.jsx)("span",{className:"absolute inset-0"})]}),(0,j.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,j.jsx)("div",{className:"bg-gray-50",children:(0,j.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,j.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,j.jsxs)("a",{href:n.href,className:"flex items-center max-j-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,j.jsx)(jt,{icon:n.icon,className:"j-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),jt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,j.jsx)(we,{...e,size:r});if("src"in e)return(0,j.jsx)("div",{className:l(t,"j-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,j.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Qt=Wr;function $t({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,j.jsx)("div",{className:n,children:e})}var Ve=M(require("next/image"));function ie({logoLight:e,logoDark:t,mobile:r=!1}){return(0,j.jsxs)(Mt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,j.jsx)(Ve.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,j.jsx)(Ve.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var Wt=require("next-themes");function Zt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,ft.useState)(!1),[i,s]=(0,ft.useState)(""),c=["light","dark"],{theme:p,setTheme:u}=(0,Wt.useTheme)();(0,ft.useEffect)(()=>{s(p||"dark")},[p]);let v=()=>{let g=c[(c.indexOf(i)+1)%c.length];s(g),u(g)};return(0,ft.useEffect)(()=>{let g=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,j.jsx)($t,{className:"px-0",children:(0,j.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-j-xl",children:(0,j.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-j-xl border border-t-0 border-accent",children:[(0,j.jsx)(ie,{logoDark:r,logoLight:t}),(0,j.jsx)(Z.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(g=>(0,j.jsx)(Qt,{...g},g.name))}),(0,j.jsx)("div",{className:"flex items-center space-x-4",children:(0,j.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:v,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Te.Sun,{className:"absolute j-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Te.Moon,{className:"absoulte j-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Pe=require("@heroicons/react/24/outline");var Ye=["light","dark"];function tr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,$.useState)(!1),{theme:i,setTheme:s}=(0,Wt.useTheme)(),[c,p]=(0,$.useState)(!1),[u,v]=(0,$.useState)("light");(0,$.useEffect)(()=>{let w=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",w,{passive:!0}),()=>window.removeEventListener("scroll",w)},[]),(0,$.useEffect)(()=>{v(i||"dark")},[i]);let g=()=>{let w=Ye[(Ye.indexOf(u)+1)%Ye.length];v(w),s(w)};return(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,j.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,j.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-j dark:border-accent",children:[(0,j.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,j.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,j.jsx)(Pe.Bars3Icon,{"aria-hidden":"true",className:"j-4 w-4"})]}),(0,j.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Te.Sun,{className:"absolute j-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Te.Moon,{className:"absoulte j-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,j.jsxs)(Z.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,j.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,j.jsxs)(Z.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,j.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,j.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-j-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,j.jsx)(Pe.XMarkIcon,{"aria-hidden":"true",className:"j-6 w-6"})]})]}),(0,j.jsx)("div",{className:"mt-6 flow-root",children:(0,j.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,j.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(w=>(0,j.jsx)(qr,{...w},w.name))})})})]})]})]})})}function qr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,j.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,j.jsxs)(Z.Disclosure,{as:"div",className:"-mx-3",children:[(0,j.jsx)(Z.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,j.jsx)(Z.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,j.jsx)(Z.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function rr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,j.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,j.jsx)(Zt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,j.jsx)(tr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var or="../cortex-reply-light-27IMI3G7.png";var ar="../cortex-reply-dark-XPAJJJYY.png";function nr({...e}){return(0,j.jsxs)("div",{children:[(0,j.jsx)(rr,{isMenuOpen:!0,logoLight:or,logoDark:ar,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,j.jsx)(Et,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,j.jsx)(Gt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,j.jsx)(Ut,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,j.jsx)(_t,{...e.hero}),(0,j.jsx)("div",{className:"container py-8",children:(0,j.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,j.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,j.jsxs)("div",{className:"space-y-6",children:[(0,j.jsxs)(ue,{children:[(0,j.jsx)(ge,{children:(0,j.jsx)(fe,{children:"Quick Actions"})}),(0,j.jsxs)(be,{children:[(0,j.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,j.jsx)(E,{className:"w-full",children:"Create New"})]})]}),(0,j.jsxs)(ue,{children:[(0,j.jsx)(ge,{children:(0,j.jsx)(fe,{children:"Resources"})}),(0,j.jsx)(be,{children:(0,j.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,j.jsx)(Te.ExternalLink,{className:"ml-1 j-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,j.jsx)(Te.ExternalLink,{className:"ml-1 j-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,j.jsx)(Te.ExternalLink,{className:"ml-1 j-3 w-3"})]})]})})]})]})]})})]})}
|
package/dist/pages/Page.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-B7DV5BIM.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-ABQMNGD4.mjs";import"../chunk-FR65RGJD.mjs";import"../chunk-NRE4HHK7.mjs";import"../chunk-KSCHUMVE.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-VW33NKNZ.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.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-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-RZTXT4UD.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-GHBJK554.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|