cortex-react-components 1.34.0 → 1.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XTFOVKFL.mjs → chunk-3IHGGPRN.mjs} +1 -1
- package/dist/{chunk-Y3ZD3LIO.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7QPNALSX.mjs → chunk-3ZQYE7M3.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-FHE7LU6G.mjs → chunk-6ZXYKK6J.mjs} +1 -1
- package/dist/{chunk-VE7ZJ62Y.mjs → chunk-A2QVFCP5.mjs} +1 -1
- package/dist/chunk-AO2FTKDA.mjs +1 -0
- package/dist/{chunk-4BEPYHEG.mjs → chunk-BBLJ3L2P.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-KKDY7QXC.mjs → chunk-FOMIQYMA.mjs} +1 -1
- package/dist/{chunk-AYQM572B.mjs → chunk-GFTFZ7JY.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-ITOI4U3L.mjs → chunk-K6CEB2MJ.mjs} +1 -1
- package/dist/{chunk-YOIWC7S2.mjs → chunk-LHFZLDTD.mjs} +1 -1
- package/dist/{chunk-NW7VCO7D.mjs → chunk-LXAGAIOE.mjs} +1 -1
- package/dist/{chunk-M3MMOJFM.mjs → chunk-MZ45XGZG.mjs} +1 -1
- package/dist/{chunk-WY4P6RJP.mjs → chunk-NZHUMOVD.mjs} +1 -1
- package/dist/{chunk-ZFNSRYYX.mjs → chunk-O2DBG3NV.mjs} +1 -1
- package/dist/{chunk-LHFBM5DP.mjs → chunk-OBJPMP7L.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-K5QOQSAS.mjs → chunk-OVAOTY36.mjs} +1 -1
- package/dist/{chunk-MEBJNGL3.mjs → chunk-OZ3WPHBH.mjs} +1 -1
- package/dist/{chunk-IIHBXLZQ.mjs → chunk-PIHQ5WLE.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-WSXDK4KT.mjs → chunk-S7CP4YF5.mjs} +1 -1
- package/dist/{chunk-MBCAGZ76.mjs → chunk-ULKXH4YN.mjs} +1 -1
- package/dist/{chunk-IPG2W7EV.mjs → chunk-VP7B5S7N.mjs} +1 -1
- package/dist/{chunk-77MZDWUP.mjs → chunk-ZE5A5R73.mjs} +1 -1
- package/dist/{chunk-NYGYSEK6.mjs → chunk-ZNC5NNDY.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- 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.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +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.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-HU2USG4O.mjs +0 -1
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-A2QVFCP5.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-GFTFZ7JY.mjs";import"../chunk-O2DBG3NV.mjs";import"../chunk-PIHQ5WLE.mjs";import"../chunk-XKUS4OC7.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../chunk-
|
|
1
|
+
import{a as n}from"../chunk-A2QVFCP5.mjs";import{a as l}from"../chunk-PAG346RY.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-GFTFZ7JY.mjs";import"../chunk-O2DBG3NV.mjs";import"../chunk-PIHQ5WLE.mjs";import"../chunk-XKUS4OC7.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-YNNW2C2U.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import{c as a}from"../chunk-D2WXBUVJ.mjs";var i=a(l());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as m,CursorArrowRaysIcon as u}from"@heroicons/react/24/outline";import{jsx as e,jsxs as y}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var h=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),x={title:"Pages/Page",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:y("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:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:h},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:m},{name:"API Reference",href:"#",icon:u},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{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)()}}},C={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},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"}},A={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,A as HighImpactHero,C as LowImpactHero,P as MediumImpactHero,_ as PostHero,x as default};
|
package/dist/pages/Website.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var lr=Object.create;var he=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var ur=(t,e)=>{for(var r in e)he(t,r,{get:e[r],enumerable:!0})},tt=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of dr(e))!mr.call(t,n)&&n!==r&&he(t,n,{get:()=>e[n],enumerable:!(a=cr(e,n))||a.enumerable});return t};var S=(t,e,r)=>(r=t!=null?lr(pr(t)):{},tt(e||!t||!t.__esModule?he(r,"default",{value:t,enumerable:!0}):r,t)),gr=t=>tt(he({},"__esModule",{value:!0}),t);var ao={};ur(ao,{default:()=>ir});module.exports=gr(ao);var ot=require("react/jsx-runtime"),rt=({type:t="solid",iconName:e="cloud",size:r="lg",className:a})=>{let n=t.includes("fa-")?t+" ":"fa-"+t+" ",o="fa-"+e,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,ot.jsx)("i",{className:i})};var Z=require("@headlessui/react"),ft=require("@heroicons/react/20/solid");var mt=require("clsx");var Fe="-",fr=t=>{let e=hr(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:s=>{let i=s.split(Fe);return i[0]===""&&i.length!==1&&i.shift(),st(i,e)||br(s)},getConflictingClassGroupIds:(s,i)=>{let l=r[s]||[];return i&&a[s]?[...l,...a[s]]:l}}},st=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let r=t[0],a=e.nextPart.get(r),n=a?st(t.slice(1),a):void 0;if(n)return n;if(e.validators.length===0)return;let o=t.join(Fe);return(s=e.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},at=/^\[(.+)\]$/,br=t=>{if(at.test(t)){let e=at.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},hr=t=>{let{theme:e,prefix:r}=t,a={nextPart:new Map,validators:[]};return xr(Object.entries(t.classGroups),r).forEach(([o,s])=>{ze(s,a,o,e)}),a},ze=(t,e,r,a)=>{t.forEach(n=>{if(typeof n=="string"){let o=n===""?e:nt(e,n);o.classGroupId=r;return}if(typeof n=="function"){if(yr(n)){ze(n(a),e,r,a);return}e.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{ze(s,nt(e,o),r,a)})})},nt=(t,e)=>{let r=t;return e.split(Fe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},yr=t=>t.isThemeGetter,xr=(t,e)=>e?t.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[e+s,i])):o);return[r,n]}):t,vr=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),e++,e>t&&(e=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},it="!",wr=t=>{let{separator:e,experimentalParseClassName:r}=t,a=e.length===1,n=e[0],o=e.length,s=i=>{let l=[],u=0,b=0,C;for(let w=0;w<i.length;w++){let N=i[w];if(u===0){if(N===n&&(a||i.slice(w,w+o)===e)){l.push(i.slice(b,w)),b=w+o;continue}if(N==="/"){C=w;continue}}N==="["?u++:N==="]"&&u--}let g=l.length===0?i:i.substring(b),p=g.startsWith(it),P=p?g.substring(1):g,f=C&&C>b?C-b:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:P,maybePostfixModifierPosition:f}};return r?i=>r({className:i,parseClassName:s}):s},kr=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(a=>{a[0]==="["?(e.push(...r.sort(),a),r=[]):r.push(a)}),e.push(...r.sort()),e},Cr=t=>({cache:vr(t.cacheSize),parseClassName:wr(t),...fr(t)}),Nr=/\s+/,Pr=(t,e)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=e,o=[],s=t.trim().split(Nr),i="";for(let l=s.length-1;l>=0;l-=1){let u=s[l],{modifiers:b,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:p}=r(u),P=!!p,f=a(P?g.substring(0,p):g);if(!f){if(!P){i=u+(i.length>0?" "+i:i);continue}if(f=a(g),!f){i=u+(i.length>0?" "+i:i);continue}P=!1}let w=kr(b).join(":"),N=C?w+it:w,R=N+f;if(o.includes(R))continue;o.push(R);let _=n(f,P);for(let Y=0;Y<_.length;++Y){let ge=_[Y];o.push(N+ge)}i=u+(i.length>0?" "+i:i)}return i};function Rr(){let t=0,e,r,a="";for(;t<arguments.length;)(e=arguments[t++])&&(r=lt(e))&&(a&&(a+=" "),a+=r);return a}var lt=t=>{if(typeof t=="string")return t;let e,r="";for(let a=0;a<t.length;a++)t[a]&&(e=lt(t[a]))&&(r&&(r+=" "),r+=e);return r};function Tr(t,...e){let r,a,n,o=s;function s(l){let u=e.reduce((b,C)=>C(b),t());return r=Cr(u),a=r.cache.get,n=r.cache.set,o=i,i(l)}function i(l){let u=a(l);if(u)return u;let b=Pr(l,r);return n(l,b),b}return function(){return o(Rr.apply(null,arguments))}}var v=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},ct=/^\[(?:([a-ot-]+):)?(.+)\]$/i,Ar=/^\d+\/\d+$/,Ir=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|ot|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Hr=/^(inset_)?-?((\d+)?\.?(\d+)[a-ot]+|0)_-?((\d+)?\.?(\d+)[a-ot]+|0)/,Lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=t=>$(t)||Ir.has(t)||Ar.test(t),F=t=>q(t,"length",Jr),$=t=>!!t&&!Number.isNaN(Number(t)),Ee=t=>q(t,"number",$),se=t=>!!t&&Number.isInteger(Number(t)),Dr=t=>t.endsWith("%")&&$(t.slice(0,-1)),d=t=>ct.test(t),G=t=>Br.test(t),Er=new Set(["length","size","percentage"]),zr=t=>q(t,Er,dt),Fr=t=>q(t,"position",dt),Gr=new Set(["image","url"]),Or=t=>q(t,Gr,Yr),Ur=t=>q(t,"",_r),ie=()=>!0,q=(t,e,r)=>{let a=ct.exec(t);return a?a[1]?typeof e=="string"?a[1]===e:e.has(a[1]):r(a[2]):!1},Jr=t=>Sr.test(t)&&!Mr.test(t),dt=()=>!1,_r=t=>Hr.test(t),Yr=t=>Lr.test(t);var Xr=()=>{let t=v("colors"),e=v("spacing"),r=v("blur"),a=v("brightness"),n=v("borderColor"),o=v("borderRadius"),s=v("borderSpacing"),i=v("borderWidth"),l=v("contrast"),u=v("grayscale"),b=v("hueRotate"),C=v("invert"),g=v("gap"),p=v("gradientColorStops"),P=v("gradientColorStopPositions"),f=v("inset"),w=v("margin"),N=v("opacity"),R=v("padding"),_=v("saturate"),Y=v("scale"),ge=v("sepia"),je=v("skew"),We=v("space"),Ke=v("translate"),Me=()=>["auto","contain","none"],He=()=>["auto","hidden","clip","visible","scroll"],Le=()=>["auto",d,e],k=()=>[d,e],$e=()=>["",D,F],fe=()=>["auto",$,d],qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],be=()=>["solid","dashed","dotted","double","none"],Ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],De=()=>["start","end","center","between","around","evenly","stretch"],ne=()=>["","0",d],et=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[ie],spacing:[D,F],blur:["none","",G,d],brightness:L(),borderColor:[t],borderRadius:["none","","full",G,d],borderSpacing:k(),borderWidth:$e(),contrast:L(),grayscale:ne(),hueRotate:L(),invert:ne(),gap:k(),gradientColorStops:[t],gradientColorStopPositions:[Dr,F],inset:Le(),margin:Le(),opacity:L(),padding:k(),saturate:L(),scale:L(),sepia:ne(),skew:L(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":et()}],"break-before":[{"break-before":et()}],"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:[...qe(),d]}],overflow:[{overflow:He()}],"overflow-ot":[{"overflow-ot":He()}],"overflow-ot":[{"overflow-ot":He()}],overscroll:[{overscroll:Me()}],"overscroll-ot":[{"overscroll-ot":Me()}],"overscroll-ot":[{"overscroll-ot":Me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-ot":[{"inset-ot":[f]}],"inset-ot":[{"inset-ot":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],ot:[{ot:["auto",se,d]}],basis:[{basis:Le()}],"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:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",se,d]}],"grid-cols":[{"grid-cols":[ie]}],"col-start-end":[{col:["auto",{span:["full",se,d]},d]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[ie]}],"row-start-end":[{row:["auto",{span:[se,d]},d]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"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-ot":[{"gap-ot":[g]}],"gap-ot":[{"gap-ot":[g]}],"justify-content":[{justify:["normal",...De()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...De(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...De(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],ot:[{ot:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],ot:[{ot:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-ot":[{"space-ot":[We]}],"space-ot-reverse":["space-ot-reverse"],"space-ot":[{"space-ot":[We]}],"space-ot-reverse":["space-ot-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,e]}],"min-w":[{"min-w":[d,e,"min","max","fit"]}],"max-w":[{"max-w":[d,e,"none","full","min","max","fit","prose",{screen:[G]},G]}],ot:[{ot:[d,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-ot":[{"min-ot":[d,e,"min","max","fit","svh","lvh","dvh"]}],"max-ot":[{"max-ot":[d,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,e,"auto","min","max","fit"]}],"font-size":[{text:["base",G,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ee]}],"font-family":[{font:[ie]}],"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",$,Ee]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,F]}],"underline-offset":[{"underline-offset":["auto",D,d]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),Fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","ot","ot","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Or]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-ot":[{"border-ot":[i]}],"border-w-ot":[{"border-ot":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...be(),"hidden"]}],"divide-ot":[{"divide-ot":[i]}],"divide-ot-reverse":["divide-ot-reverse"],"divide-ot":[{"divide-ot":[i]}],"divide-ot-reverse":["divide-ot-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:be()}],"border-color":[{border:[n]}],"border-color-ot":[{"border-ot":[n]}],"border-color-ot":[{"border-ot":[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-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...be()]}],"outline-offset":[{"outline-offset":[D,d]}],"outline-w":[{outline:[D,F]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[D,F]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",G,Ur]}],"shadow-color":[{shadow:[ie]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[C]}],saturate:[{saturate:[_]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-ot":[{"border-spacing-ot":[s]}],"border-spacing-ot":[{"border-spacing-ot":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-ot":[{"scale-ot":[Y]}],"scale-ot":[{"scale-ot":[Y]}],rotate:[{rotate:[se,d]}],"translate-ot":[{"translate-ot":[Ke]}],"translate-ot":[{"translate-ot":[Ke]}],"skew-ot":[{"skew-ot":[je]}],"skew-ot":[{"skew-ot":[je]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","ot","ot",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-ot":[{"scroll-ot":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-ot":[{"scroll-ot":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","ot","ot","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-ot":[{"touch-pan":["ot","left","right"]}],"touch-ot":[{"touch-pan":["ot","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[D,F,Ee]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-ot","overflow-ot"],overscroll:["overscroll-ot","overscroll-ot"],inset:["inset-ot","inset-ot","start","end","top","right","bottom","left"],"inset-ot":["right","left"],"inset-ot":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-ot","gap-ot"],p:["px","py","ps","ot","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ot:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","ot"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-ot","border-spacing-ot"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-ot":["border-w-r","border-w-l"],"border-w-ot":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-ot":["border-color-r","border-color-l"],"border-color-ot":["border-color-t","border-color-b"],"scroll-ot":["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-ot","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-ot","touch-ot","touch-pz"],"touch-ot":["touch"],"touch-ot":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pt=Tr(Xr);function c(...t){return pt((0,mt.clsx)(t))}function ut(t){let e=0,r=(o,s)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${s}`,a=t.layout.flatMap(o=>{let s=[];return"title"in o&&o.title&&s.push({text:o.title,id:r(o.title,e++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(i=>{i.title&&s.push({text:i.title,id:r(i.title,e++),tag:"h2"}),i.richText&&i.richText.root.children.filter(l=>l.type==="heading").forEach(l=>{s.push({text:l.children[0].text,id:r(l.children[0].text,e++),tag:l.tag||"h2"})})}),s}),n=Vr(t.layout);return{tableOfContents:a,contentWithIds:n}}function Vr(t){let e=(a,n)=>`${a.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,r=0;return t.map(a=>(a.title&&(a.id=e(a.title,r++)),a.columns&&(a.columns=a.columns.map(n=>(n.title&&(n.id=e(n.title,r++)),n.richText&&(n.richText.root.children=n.richText.root.children.map(o=>(o.type==="heading"&&(o.id=e(o.children[0].text,r++)),o))),n))),a))}var Qr=({name:t,items:e,actions:r=[],href:a})=>!e&&a?(0,ot.jsx)("a",{href:a,className:"flex items-center gap-ot-1 text-sm font-semibold text-foreground group",children:(0,ot.jsxs)("span",{className:"relative",children:[t,(0,ot.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 ot-0.5 bg-accent transform -translate-ot-1/2 scale-ot-0 transition-transform duration-300 ease-in-out group-hover:scale-ot-100"})]})}):(0,ot.jsxs)(Z.Popover,{children:[(0,ot.jsxs)(Z.PopoverButton,{className:"flex items-center gap-ot-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,ot.jsxs)("span",{className:"relative",children:[t,(0,ot.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 ot-0.5 bg-accent transform -translate-ot-1/2 scale-ot-0 transition-transform duration-300 ease-in-out group-hover:scale-ot-100"})]}),(0,ot.jsx)(ft.ChevronDownIcon,{"aria-hidden":"true",className:"ot-5 w-5 flex-none text-accent"})]}),(0,ot.jsxs)(Z.PopoverPanel,{transition:!0,className:"absolute inset-ot-0 top-0 -ot-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-ot-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,ot.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-ot-4 px-6 py-10 lg:px-8 xl:gap-ot-8 ot-50",children:e&&e.map(n=>(0,ot.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,ot.jsx)("div",{className:"flex ot-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,ot.jsx)(gt,{icon:n.icon,size:"4x"})}),(0,ot.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,ot.jsx)("span",{className:"absolute inset-0"})]}),(0,ot.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,ot.jsx)("div",{className:"bg-gray-50",children:(0,ot.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,ot.jsx)("div",{className:"grid grid-cols-3 divide-ot divide-gray-900/5 border-ot border-gray-900/5",children:r.map(n=>(0,ot.jsxs)("a",{href:n.href,className:"flex items-center max-ot-12 justify-center gap-ot-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,ot.jsx)(gt,{icon:n.icon,className:"ot-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),gt=({icon:t,className:e,size:r="lg"})=>{if(!t)return null;if("type"in t)return(0,ot.jsx)(rt,{...t,size:r});if("src"in t)return(0,ot.jsx)("div",{className:c(e,"ot-full max-w-32 items-start text-left"),children:t&&typeof t.src=="string"&&(0,ot.jsx)("img",{src:t.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},bt=Qr;var ee=require("react");function ht({children:t,isFluid:e=!1,isNoPadding:r=!1,className:a=""}){let n=c("container",e&&"full-width",r&&"no-padding",a);return(0,ot.jsx)("div",{className:n,children:t})}var xt=S(require("next/link"));function vt({children:t,href:e,openNewTab:r,...a}){return(0,ot.jsx)(xt.default,{href:e,target:r?"_blank":"_self",...a,children:t})}var Ge=S(require("next/image"));function ce({logoLight:t,logoDark:e,mobile:r=!1}){return(0,ot.jsxs)(vt,{href:"/",className:c(r?"py-1":"py-2"),children:[(0,ot.jsx)(Ge.default,{className:"logo-light dark:hidden",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}}),(0,ot.jsx)(Ge.default,{className:"logo-dark hidden dark:block",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}})]})}var kt=require("next-themes"),ye=require("lucide-react");function Nt({isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a}){let[n,o]=(0,ee.useState)(!1),[s,i]=(0,ee.useState)(""),l=["light","dark"],{theme:u,setTheme:b}=(0,kt.useTheme)();(0,ee.useEffect)(()=>{i(u||"dark")},[u]);let C=()=>{let g=l[(l.indexOf(s)+1)%l.length];i(g),b(g)};return(0,ee.useEffect)(()=>{let g=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsx)("header",{className:`ot-50 pb-10 transition-all duration-300 hidden lg:block ${n||t?"translate-ot-0":"-translate-ot-full bg-transparent"}`,children:(0,ot.jsx)(ht,{className:"px-0",children:(0,ot.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,ot.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,ot.jsx)(ce,{logoDark:r,logoLight:e}),(0,ot.jsx)(Z.PopoverGroup,{className:"hidden lg:flex lg:gap-ot-12",children:a&&a.map(g=>(0,ot.jsx)(bt,{...g},g.name))}),(0,ot.jsx)("div",{className:"flex items-center space-ot-4",children:(0,ot.jsx)("button",{className:"fixed right-4 ot-[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:C,children:(0,ot.jsxs)("div",{className:"relative",children:[(0,ot.jsx)(ye.Sun,{className:"absolute ot-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,ot.jsx)(ye.Moon,{className:"absoulte ot-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var xe=require("@heroicons/react/24/outline");var Oe=["light","dark"];function Rt({logoLight:t,logoDark:e,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,ee.useState)(!1),{theme:s,setTheme:i}=(0,kt.useTheme)(),[l,u]=(0,ee.useState)(!1),[b,C]=(0,ee.useState)("light");(0,ee.useEffect)(()=>{let p=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),(0,ee.useEffect)(()=>{C(s||"dark")},[s]);let g=()=>{let p=Oe[(Oe.indexOf(b)+1)%Oe.length];C(p),i(p)};return(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsxs)("header",{className:`ot-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-ot-0":"-translate-ot-full bg-transparent"}`,children:[(0,ot.jsx)("nav",{className:c("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,ot.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-b dark:border-accent",children:[(0,ot.jsx)(ce,{logoDark:e,logoLight:t,mobile:!0}),(0,ot.jsxs)("div",{className:"flex items-center space-ot-4",children:[(0,ot.jsxs)("button",{type:"button",onClick:()=>u(!0),className:"fixed right-4 ot-[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,ot.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,ot.jsx)(xe.Bars3Icon,{"aria-hidden":"true",className:"ot-4 w-4"})]}),(0,ot.jsx)("button",{className:"fixed right-16 ot-[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,ot.jsxs)("div",{className:"relative",children:[(0,ot.jsx)(ye.Sun,{className:"absolute ot-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,ot.jsx)(ye.Moon,{className:"absoulte ot-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,ot.jsxs)(Z.Dialog,{open:l,onClose:u,className:"lg:hidden",children:[(0,ot.jsx)("div",{className:"fixed inset-0 ot-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,ot.jsxs)(Z.DialogPanel,{className:"fixed inset-ot-0 right-0 ot-20 w-full overflow-ot-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,ot.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,ot.jsx)(ce,{logoDark:e,logoLight:t,mobile:!0}),(0,ot.jsxs)("button",{type:"button",onClick:()=>u(!1),className:"-ot-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,ot.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,ot.jsx)(xe.XMarkIcon,{"aria-hidden":"true",className:"ot-6 w-6"})]})]}),(0,ot.jsx)("div",{className:"mt-6 flow-root",children:(0,ot.jsx)("div",{className:"-my-6 divide-ot divide-gray-500/10",children:(0,ot.jsx)("div",{className:"space-ot-2 px-2 py-6",children:r&&r.map(p=>(0,ot.jsx)(jr,{...p},p.name))})})})]})]})]})})}function jr({name:t,items:e,actions:r,href:a}){return!e&&a?(0,ot.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:t}):(0,ot.jsxs)(Z.Disclosure,{as:"div",className:"-mx-3",children:[(0,ot.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:t}),(0,ot.jsx)(Z.DisclosurePanel,{className:"mt-2 space-ot-2",children:e&&e.map(n=>(0,ot.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 Tt({isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a,className:n}){return(0,ot.jsxs)("div",{className:c("fixed top-0 left-0 right-0 ot-50",n),children:[(0,ot.jsx)(Nt,{isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a}),(0,ot.jsx)(Rt,{isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a})]})}var Yt=S(require("next/image"));var At=require("@radix-ui/react-slot"),It=require("class-variance-authority"),Bt=S(require("react")),Wr=(0,It.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:"ot-10 px-4 py-2",icon:"ot-10 w-10",lg:"ot-11 rounded px-8",sm:"ot-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),O=Bt.forwardRef(({asChild:t=!1,className:e,size:r,variant:a,...n},o)=>(0,ot.jsx)(t?At.Slot:"button",{className:c(Wr({className:e,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var Ue=S(require("next/link")),U=t=>{let{type:e,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:l,url:u}=t,b=e==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:u;if(!b)return null;let C=r==="link"?"clear":l,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ot.jsxs)(Ue.default,{className:c(n),href:b||u||"",...g,children:[o&&o,a&&a]}):(0,ot.jsx)(O,{asChild:!0,className:n,size:C,variant:r,children:(0,ot.jsxs)(Ue.default,{className:c(n),href:b||u||"",...g,children:[o&&o,a&&a]})})};var Ht=S(require("next/image"));var Mt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var we=()=>{if(Mt){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Kr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$r="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=",Lt=t=>{let{alt:e,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:l}=t,u,b,C=e,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:f,filename:w,height:N,url:R,width:_}=o;u=_,b=N,C=f||"",g=`${we()}${R}`}let p=l||"lazy",P=s||Object.entries(Kr).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,ot.jsx)("picture",{children:(0,ot.jsx)(Ht.default,{alt:C||"",className:c(a),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:$r,priority:p!=="lazy"&&n,quality:100,loading:p,sizes:P,src:g,width:r?void 0:u})})};var Dt=t=>{let{onClick:e,resource:r,videoClassName:a}=t,n=(0,ee.useRef)(null);if((0,ee.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ot.jsx)("video",{autoPlay:!0,className:c(a),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:n,children:(0,ot.jsx)("source",{src:`${we()}/media/${o}`})})}return null};var Ne=t=>{var s;let{className:e,htmlElement:r="div",resource:a}=t,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,ot.jsx)(r||ee.Fragment,{...r!==null?{className:e}:{},children:n?(0,ot.jsx)(Dt,{...t}):(0,ot.jsx)(Lt,{...t})})};var zt=({className:t,content:e,style:r})=>(0,ot.jsx)("div",{className:c("mx-auto my-8 w-full",t),children:(0,ot.jsx)("div",{className:c("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,ot.jsx)(I,{content:e,enableGutter:!1,enableProse:!1})})});var Re=({links:t,richText:e})=>(0,ot.jsx)("div",{className:"container",children:(0,ot.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,ot.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,ot.jsx)(I,{className:"mb-0",content:e,enableGutter:!1})}),(0,ot.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},a)=>(0,ot.jsx)(U,{size:"lg",...r},a))})]})});var Te=require("prism-react-renderer");function Ot({code:t}){let[e,r]=(0,ee.useState)("Copy");function a(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ot.jsx)("div",{className:"flex justify-end align-middle",children:(0,ot.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),a()},children:[(0,ot.jsx)("p",{children:e}),(0,ot.jsx)("div",{className:"w-6 ot-6 dark:invert",children:(0,ot.jsx)(ye.ClipboardCopy,{})})]})})}var Ut=({code:t,language:e=""})=>t?(0,ot.jsx)(Te.Highlight,{code:t,language:e,theme:Te.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,ot.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-ot-auto",children:[n.map((o,s)=>(0,ot.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ot.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,ot.jsx)("span",{className:"table-cell pl-4",children:o.map((i,l)=>(0,ot.jsx)("span",{...a({token:i})},l))})]},s)),(0,ot.jsx)(Ot,{code:t})]})}):null;var Jt=({className:t,code:e,language:r})=>(0,ot.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,ot.jsx)(Ut,{code:e,language:r})});var me=t=>{let{className:e,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=t;return(0,ot.jsx)("div",{className:c("",{container:r},e),children:(0,ot.jsx)(Ne,{imgClassName:c("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Ie=S(require("react"));function Ae({nodes:t}){return(0,ot.jsx)(Ie.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,ot.jsx)(Ie.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,ot.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,ot.jsx)("em",{children:o},r)),e.format&4&&(o=(0,ot.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,ot.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,ot.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,ot.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,ot.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,ot.jsx)("table",{children:(0,ot.jsx)("tbody",{children:e.children.map((o,s)=>(0,ot.jsx)("tr",{children:o.children.map((i,l)=>(0,ot.jsx)("td",{children:Ae({nodes:i.children})},l))},s))})},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 s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ae({nodes:o.children})},n="children"in e?a(e):"";if(e.type==="block"){let o=e.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,ot.jsx)(Re,{...o},r);case"mediaBlock":return(0,ot.jsx)(me,{className:"col-start-1 col-span-3",imgClassName:"ot-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ot.jsx)(zt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ot.jsx)(Jt,{className:"col-start-2",...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,ot.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ot.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=e==null?void 0:e.tag;return(0,ot.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:n},r)}case"list":{let o=e==null?void 0:e.tag;return(0,ot.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,ot.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:n},r):(0,ot.jsx)("li",{value:e==null?void 0:e.value,children:n},r);case"quote":return(0,ot.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=e.fields;return(0,ot.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var I=({className:t,content:e,enableGutter:r=!0,enableProse:a=!0})=>{var n;return e?(0,ot.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&Ae({nodes:(n=e==null?void 0:e.root)==null?void 0:n.children})}):null};var Xt=({links:t,media:e,children:r,richText:a})=>(0,ot.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,ot.jsx)("div",{className:"container mb-8 ot-10 relative flex items-end justify-center",children:(0,ot.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||a&&(0,ot.jsx)(I,{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:!1}),Array.isArray(t)&&t.length>0&&(0,ot.jsx)("ul",{className:"flex justify-center gap-4",children:t.map(({link:n},o)=>(0,ot.jsx)("li",{children:(0,ot.jsx)(U,{...n})},o))})]})}),(0,ot.jsxs)("div",{className:"min-ot-[80vh] select-none",children:[e&&typeof e=="object"&&(0,ot.jsx)(Ne,{fill:!0,imgClassName:"ot-5 object-cover",priority:!1,loading:"lazy",resource:e}),e&&typeof e=="string"&&(0,ot.jsx)("div",{children:(0,ot.jsx)(Yt.default,{className:"-ot-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),(0,ot.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Vt=({children:t,richText:e})=>(0,ot.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,ot.jsx)("div",{className:"container",children:t||e&&(0,ot.jsx)(I,{content:e,enableGutter:!1})})});var Ve=S(require("next/image"));var qr=({media:t})=>{if(t&&typeof t=="object"){let{alt:e,filename:r,height:a,url:n,width:o}=t;return(0,ot.jsx)(Ve.default,{className:"mix-blend-overlay opacity-50",alt:e||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(t&&typeof t=="string")return(0,ot.jsx)("div",{children:(0,ot.jsx)(Ve.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:t,style:{objectFit:"cover"}})});return null},Qt=({links:t,media:e,children:r,richText:a})=>(0,ot.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[e&&(0,ot.jsx)(qr,{media:e}),(0,ot.jsx)("div",{className:"mx-0 min-w-full relative ot-9",children:(0,ot.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,ot.jsx)(I,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Zr={highImpact:Xt,lowImpact:Vt,mediumImpact:Qt},jt=t=>{let{type:e}=t||{};if(!e||e==="none")return null;let r=Zr[e];return r?(0,ot.jsx)(r,{...t}):null};var Kt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,ot.jsx)("div",{className:"container my-6",children:(0,ot.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-ot-8 gap-ot-16",children:e&&e.length>0&&e.map((a,n)=>{let{enableLink:o,link:s,richText:i,size:l}=a;return(0,ot.jsxs)("div",{className:c(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[i&&(0,ot.jsx)(I,{content:i,enableGutter:!1}),o&&(0,ot.jsx)(U,{...s})]},n)})})})};var $t=({title:t,description:e,features:r,id:a})=>(0,ot.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,ot.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:a||"",children:t}),e&&typeof e=="string"&&(0,ot.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,ot.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,ot.jsx)(I,{content:e,enableGutter:!1})}),(0,ot.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,ot.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,ot.jsx)("div",{className:"text-accent ot-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,ot.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,ot.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),typeof n.content!="object"&&(0,ot.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),typeof n.content=="object"&&(0,ot.jsx)("div",{className:"text-lg opacity-80",children:(0,ot.jsx)(I,{content:n.content,enableGutter:!1})})]},o);return console.log("link",n.link),n.link?(0,ot.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var qt={content:Kt,cta:Re,mediaBlock:me,imageBlock:me,features:$t},er=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,ot.jsx)(ee.Fragment,{children:e.map((a,n)=>{let{blockType:o}=a;if(o&&o in qt){let s=qt[o];if(s)return(0,ot.jsx)("div",{className:"my-6",children:(0,ot.jsx)(s,{...a})},n)}return null})}):null};var tr="../cortex-reply-light-27IMI3G7.png";var rr="../cortex-reply-dark-XPAJJJYY.png";var j=S(require("react"));var te=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("rounded-xl border bg-card text-card-foreground shadow",t),...e}));te.displayName="Card";var re=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("flex flex-col space-ot-1.5 p-6",t),...e}));re.displayName="CardHeader";var oe=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("font-semibold leading-none tracking-tight",t),...e}));oe.displayName="CardTitle";var ro=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("text-sm text-muted-foreground",t),...e}));ro.displayName="CardDescription";var ae=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("p-6 pt-0",t),...e}));ae.displayName="CardContent";var oo=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("flex items-center p-6 pt-0",t),...e}));oo.displayName="CardFooter";var Qe=S(require("next/link"));var or=S(require("next/link"));var nr=({links:t,title:e="Related Content"})=>(0,ot.jsxs)(te,{children:[(0,ot.jsx)(re,{children:(0,ot.jsx)(oe,{className:"text-accent",children:e})}),(0,ot.jsx)(ae,{children:(0,ot.jsx)("nav",{className:"flex flex-col space-ot-2",children:t.map((r,a)=>(0,ot.jsxs)(or.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,ot.jsx)(ye.ExternalLink,{className:"ml-1 ot-3 w-3"})]},a))})})]});var sr=({children:t,pageId:e,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o={title:"Related Content",links:[]}})=>{let[s,i]=(0,ee.useState)(!1),[l,u]=(0,ee.useState)(""),b=()=>{i(!s)},C=p=>{switch(p){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=(p,P)=>{p.preventDefault();let f=document.getElementById(P);if(f){let N=f.offsetTop+-100,R=document.querySelector(".container")||window;R===window?window.scrollTo({top:N,behavior:"smooth"}):R.scrollTo({top:N,behavior:"smooth"}),u(P)}else console.error(`Element with ID "${P}" not found.`)};return(0,ee.useEffect)(()=>{let p=window.location.hash;if(p){let P=p.substring(1),f=document.getElementById(P);if(f){let N=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:N,behavior:"smooth"})}}},[]),(0,ot.jsxs)("div",{className:"container py-8",children:[(0,ot.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,ot.jsx)("div",{className:c(s?"col-span-2":"col-span-3","xl:col-span-3"),children:t}),(0,ot.jsxs)("div",{className:c("space-ot-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-ot-0 xl:-mt-20",s?"translate-ot-0":"md:translate-ot-full","xl:block xl:col-span-1 xl:translate-ot-0"),children:[r.length>3&&(0,ot.jsxs)(te,{className:"w-full max-w-sm mt-4",children:[(0,ot.jsx)(re,{children:(0,ot.jsx)(oe,{className:"text-accent",children:"On this page"})}),(0,ot.jsx)(ae,{children:(0,ot.jsx)("ul",{className:"space-ot-2",children:r.map((p,P)=>(0,ot.jsx)("li",{className:C(p.tag),children:(0,ot.jsx)("a",{href:`#${p.id}`,onClick:f=>g(f,p.id),className:`text-sm ${l===p.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:p.text})},P))})})]}),a&&(0,ot.jsxs)(te,{children:[(0,ot.jsx)(re,{children:(0,ot.jsx)(oe,{children:"CMS Actions"})}),(0,ot.jsxs)(ae,{children:[(0,ot.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,ot.jsx)(Qe.default,{href:`${n}${e}`,children:(0,ot.jsx)(O,{variant:"outline",className:"w-full text-accent",children:"Edit Page"})}),(0,ot.jsx)(Qe.default,{href:"/admin/collections/pages/create",children:(0,ot.jsx)(O,{variant:"outline",className:"w-full mt-2 text-accent",children:"Create New"})})]})]}),o&&o.links.length>0&&(0,ot.jsx)(nr,{...o})]}),(0,ot.jsx)("button",{onClick:b,className:c("fixed top-1/2 right-0 ot-50 ot-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-ot-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,ot.jsx)("div",{className:"block md:hidden mt-8",children:(0,ot.jsx)("div",{className:"space-ot-6",children:t})})]})};function ir({...t}){let e=t.page,{contentWithIds:r,tableOfContents:a}=ut(e);return(0,ot.jsxs)("div",{className:"flex fixed flex-col w-screen ot-screen max-ot-screen overflow-auto overscroll-contain",children:[(0,ot.jsx)(Tt,{isMenuOpen:!0,logoLight:tr,logoDark:rr}),(0,ot.jsx)(jt,{...t.hero}),(0,ot.jsx)(sr,{edit:t.edit,pageId:t.page.id,tableOfContents:a,relatedContent:t.relatedContent,children:(0,ot.jsx)(er,{blocks:r})})]})}
|
|
4
|
+
"use strict";var lr=Object.create;var he=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var ur=(t,e)=>{for(var r in e)he(t,r,{get:e[r],enumerable:!0})},tt=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of dr(e))!mr.call(t,n)&&n!==r&&he(t,n,{get:()=>e[n],enumerable:!(a=cr(e,n))||a.enumerable});return t};var S=(t,e,r)=>(r=t!=null?lr(pr(t)):{},tt(e||!t||!t.__esModule?he(r,"default",{value:t,enumerable:!0}):r,t)),gr=t=>tt(he({},"__esModule",{value:!0}),t);var ao={};ur(ao,{default:()=>ir});module.exports=gr(ao);var ot=require("react/jsx-runtime"),rt=({type:t="solid",iconName:e="cloud",size:r="lg",className:a})=>{let n=t.includes("fa-")?t+" ":"fa-"+t+" ",o="fa-"+e,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,ot.jsx)("i",{className:i})};var Z=require("@headlessui/react"),ft=require("@heroicons/react/20/solid");var mt=require("clsx");var Fe="-",fr=t=>{let e=hr(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:s=>{let i=s.split(Fe);return i[0]===""&&i.length!==1&&i.shift(),st(i,e)||br(s)},getConflictingClassGroupIds:(s,i)=>{let l=r[s]||[];return i&&a[s]?[...l,...a[s]]:l}}},st=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let r=t[0],a=e.nextPart.get(r),n=a?st(t.slice(1),a):void 0;if(n)return n;if(e.validators.length===0)return;let o=t.join(Fe);return(s=e.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},at=/^\[(.+)\]$/,br=t=>{if(at.test(t)){let e=at.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},hr=t=>{let{theme:e,prefix:r}=t,a={nextPart:new Map,validators:[]};return xr(Object.entries(t.classGroups),r).forEach(([o,s])=>{ze(s,a,o,e)}),a},ze=(t,e,r,a)=>{t.forEach(n=>{if(typeof n=="string"){let o=n===""?e:nt(e,n);o.classGroupId=r;return}if(typeof n=="function"){if(yr(n)){ze(n(a),e,r,a);return}e.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{ze(s,nt(e,o),r,a)})})},nt=(t,e)=>{let r=t;return e.split(Fe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},yr=t=>t.isThemeGetter,xr=(t,e)=>e?t.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[e+s,i])):o);return[r,n]}):t,vr=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),e++,e>t&&(e=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},it="!",wr=t=>{let{separator:e,experimentalParseClassName:r}=t,a=e.length===1,n=e[0],o=e.length,s=i=>{let l=[],u=0,b=0,C;for(let w=0;w<i.length;w++){let N=i[w];if(u===0){if(N===n&&(a||i.slice(w,w+o)===e)){l.push(i.slice(b,w)),b=w+o;continue}if(N==="/"){C=w;continue}}N==="["?u++:N==="]"&&u--}let g=l.length===0?i:i.substring(b),p=g.startsWith(it),P=p?g.substring(1):g,f=C&&C>b?C-b:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:P,maybePostfixModifierPosition:f}};return r?i=>r({className:i,parseClassName:s}):s},kr=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(a=>{a[0]==="["?(e.push(...r.sort(),a),r=[]):r.push(a)}),e.push(...r.sort()),e},Cr=t=>({cache:vr(t.cacheSize),parseClassName:wr(t),...fr(t)}),Nr=/\s+/,Pr=(t,e)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=e,o=[],s=t.trim().split(Nr),i="";for(let l=s.length-1;l>=0;l-=1){let u=s[l],{modifiers:b,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:p}=r(u),P=!!p,f=a(P?g.substring(0,p):g);if(!f){if(!P){i=u+(i.length>0?" "+i:i);continue}if(f=a(g),!f){i=u+(i.length>0?" "+i:i);continue}P=!1}let w=kr(b).join(":"),N=C?w+it:w,R=N+f;if(o.includes(R))continue;o.push(R);let _=n(f,P);for(let Y=0;Y<_.length;++Y){let ge=_[Y];o.push(N+ge)}i=u+(i.length>0?" "+i:i)}return i};function Rr(){let t=0,e,r,a="";for(;t<arguments.length;)(e=arguments[t++])&&(r=lt(e))&&(a&&(a+=" "),a+=r);return a}var lt=t=>{if(typeof t=="string")return t;let e,r="";for(let a=0;a<t.length;a++)t[a]&&(e=lt(t[a]))&&(r&&(r+=" "),r+=e);return r};function Tr(t,...e){let r,a,n,o=s;function s(l){let u=e.reduce((b,C)=>C(b),t());return r=Cr(u),a=r.cache.get,n=r.cache.set,o=i,i(l)}function i(l){let u=a(l);if(u)return u;let b=Pr(l,r);return n(l,b),b}return function(){return o(Rr.apply(null,arguments))}}var v=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},ct=/^\[(?:([a-ot-]+):)?(.+)\]$/i,Ar=/^\d+\/\d+$/,Ir=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|ot|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Hr=/^(inset_)?-?((\d+)?\.?(\d+)[a-ot]+|0)_-?((\d+)?\.?(\d+)[a-ot]+|0)/,Lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=t=>$(t)||Ir.has(t)||Ar.test(t),F=t=>q(t,"length",Jr),$=t=>!!t&&!Number.isNaN(Number(t)),Ee=t=>q(t,"number",$),se=t=>!!t&&Number.isInteger(Number(t)),Dr=t=>t.endsWith("%")&&$(t.slice(0,-1)),d=t=>ct.test(t),G=t=>Br.test(t),Er=new Set(["length","size","percentage"]),zr=t=>q(t,Er,dt),Fr=t=>q(t,"position",dt),Gr=new Set(["image","url"]),Or=t=>q(t,Gr,Yr),Ur=t=>q(t,"",_r),ie=()=>!0,q=(t,e,r)=>{let a=ct.exec(t);return a?a[1]?typeof e=="string"?a[1]===e:e.has(a[1]):r(a[2]):!1},Jr=t=>Sr.test(t)&&!Mr.test(t),dt=()=>!1,_r=t=>Hr.test(t),Yr=t=>Lr.test(t);var Xr=()=>{let t=v("colors"),e=v("spacing"),r=v("blur"),a=v("brightness"),n=v("borderColor"),o=v("borderRadius"),s=v("borderSpacing"),i=v("borderWidth"),l=v("contrast"),u=v("grayscale"),b=v("hueRotate"),C=v("invert"),g=v("gap"),p=v("gradientColorStops"),P=v("gradientColorStopPositions"),f=v("inset"),w=v("margin"),N=v("opacity"),R=v("padding"),_=v("saturate"),Y=v("scale"),ge=v("sepia"),je=v("skew"),We=v("space"),Ke=v("translate"),Me=()=>["auto","contain","none"],He=()=>["auto","hidden","clip","visible","scroll"],Le=()=>["auto",d,e],k=()=>[d,e],$e=()=>["",D,F],fe=()=>["auto",$,d],qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],be=()=>["solid","dashed","dotted","double","none"],Ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],De=()=>["start","end","center","between","around","evenly","stretch"],ne=()=>["","0",d],et=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[ie],spacing:[D,F],blur:["none","",G,d],brightness:L(),borderColor:[t],borderRadius:["none","","full",G,d],borderSpacing:k(),borderWidth:$e(),contrast:L(),grayscale:ne(),hueRotate:L(),invert:ne(),gap:k(),gradientColorStops:[t],gradientColorStopPositions:[Dr,F],inset:Le(),margin:Le(),opacity:L(),padding:k(),saturate:L(),scale:L(),sepia:ne(),skew:L(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":et()}],"break-before":[{"break-before":et()}],"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:[...qe(),d]}],overflow:[{overflow:He()}],"overflow-ot":[{"overflow-ot":He()}],"overflow-ot":[{"overflow-ot":He()}],overscroll:[{overscroll:Me()}],"overscroll-ot":[{"overscroll-ot":Me()}],"overscroll-ot":[{"overscroll-ot":Me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-ot":[{"inset-ot":[f]}],"inset-ot":[{"inset-ot":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],ot:[{ot:["auto",se,d]}],basis:[{basis:Le()}],"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:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",se,d]}],"grid-cols":[{"grid-cols":[ie]}],"col-start-end":[{col:["auto",{span:["full",se,d]},d]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[ie]}],"row-start-end":[{row:["auto",{span:[se,d]},d]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"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-ot":[{"gap-ot":[g]}],"gap-ot":[{"gap-ot":[g]}],"justify-content":[{justify:["normal",...De()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...De(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...De(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],ot:[{ot:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],ot:[{ot:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-ot":[{"space-ot":[We]}],"space-ot-reverse":["space-ot-reverse"],"space-ot":[{"space-ot":[We]}],"space-ot-reverse":["space-ot-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,e]}],"min-w":[{"min-w":[d,e,"min","max","fit"]}],"max-w":[{"max-w":[d,e,"none","full","min","max","fit","prose",{screen:[G]},G]}],ot:[{ot:[d,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-ot":[{"min-ot":[d,e,"min","max","fit","svh","lvh","dvh"]}],"max-ot":[{"max-ot":[d,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,e,"auto","min","max","fit"]}],"font-size":[{text:["base",G,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ee]}],"font-family":[{font:[ie]}],"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",$,Ee]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,F]}],"underline-offset":[{"underline-offset":["auto",D,d]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),Fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","ot","ot","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Or]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-ot":[{"border-ot":[i]}],"border-w-ot":[{"border-ot":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...be(),"hidden"]}],"divide-ot":[{"divide-ot":[i]}],"divide-ot-reverse":["divide-ot-reverse"],"divide-ot":[{"divide-ot":[i]}],"divide-ot-reverse":["divide-ot-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:be()}],"border-color":[{border:[n]}],"border-color-ot":[{"border-ot":[n]}],"border-color-ot":[{"border-ot":[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-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...be()]}],"outline-offset":[{"outline-offset":[D,d]}],"outline-w":[{outline:[D,F]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[D,F]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",G,Ur]}],"shadow-color":[{shadow:[ie]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[C]}],saturate:[{saturate:[_]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-ot":[{"border-spacing-ot":[s]}],"border-spacing-ot":[{"border-spacing-ot":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-ot":[{"scale-ot":[Y]}],"scale-ot":[{"scale-ot":[Y]}],rotate:[{rotate:[se,d]}],"translate-ot":[{"translate-ot":[Ke]}],"translate-ot":[{"translate-ot":[Ke]}],"skew-ot":[{"skew-ot":[je]}],"skew-ot":[{"skew-ot":[je]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","ot","ot",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-ot":[{"scroll-ot":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-ot":[{"scroll-ot":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","ot","ot","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-ot":[{"touch-pan":["ot","left","right"]}],"touch-ot":[{"touch-pan":["ot","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[D,F,Ee]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-ot","overflow-ot"],overscroll:["overscroll-ot","overscroll-ot"],inset:["inset-ot","inset-ot","start","end","top","right","bottom","left"],"inset-ot":["right","left"],"inset-ot":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-ot","gap-ot"],p:["px","py","ps","ot","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ot:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","ot"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-ot","border-spacing-ot"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-ot":["border-w-r","border-w-l"],"border-w-ot":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-ot":["border-color-r","border-color-l"],"border-color-ot":["border-color-t","border-color-b"],"scroll-ot":["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-ot","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-ot","touch-ot","touch-pz"],"touch-ot":["touch"],"touch-ot":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pt=Tr(Xr);function c(...t){return pt((0,mt.clsx)(t))}function ut(t){let e=0,r=(o,s)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${s}`,a=t.layout.flatMap(o=>{let s=[];return"title"in o&&o.title&&s.push({text:o.title,id:r(o.title,e++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(i=>{i.title&&s.push({text:i.title,id:r(i.title,e++),tag:"h2"}),i.richText&&i.richText.root.children.filter(l=>l.type==="heading").forEach(l=>{s.push({text:l.children[0].text,id:r(l.children[0].text,e++),tag:l.tag||"h2"})})}),s}),n=Vr(t.layout);return{tableOfContents:a,contentWithIds:n}}function Vr(t){let e=(a,n)=>`${a.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,r=0;return t.map(a=>(a.title&&(a.id=e(a.title,r++)),a.columns&&(a.columns=a.columns.map(n=>(n.title&&(n.id=e(n.title,r++)),n.richText&&(n.richText.root.children=n.richText.root.children.map(o=>(o.type==="heading"&&(o.id=e(o.children[0].text,r++)),o))),n))),a))}var Qr=({name:t,items:e,actions:r=[],href:a})=>!e&&a?(0,ot.jsx)("a",{href:a,className:"flex items-center gap-ot-1 text-sm font-semibold text-foreground group",children:(0,ot.jsxs)("span",{className:"relative",children:[t,(0,ot.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 ot-0.5 bg-accent transform -translate-ot-1/2 scale-ot-0 transition-transform duration-300 ease-in-out group-hover:scale-ot-100"})]})}):(0,ot.jsxs)(Z.Popover,{children:[(0,ot.jsxs)(Z.PopoverButton,{className:"flex items-center gap-ot-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,ot.jsxs)("span",{className:"relative",children:[t,(0,ot.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 ot-0.5 bg-accent transform -translate-ot-1/2 scale-ot-0 transition-transform duration-300 ease-in-out group-hover:scale-ot-100"})]}),(0,ot.jsx)(ft.ChevronDownIcon,{"aria-hidden":"true",className:"ot-5 w-5 flex-none text-accent"})]}),(0,ot.jsxs)(Z.PopoverPanel,{transition:!0,className:"absolute inset-ot-0 top-0 -ot-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-ot-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,ot.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-ot-4 px-6 py-10 lg:px-8 xl:gap-ot-8 ot-50",children:e&&e.map(n=>(0,ot.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,ot.jsx)("div",{className:"flex ot-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,ot.jsx)(gt,{icon:n.icon,size:"4x"})}),(0,ot.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,ot.jsx)("span",{className:"absolute inset-0"})]}),(0,ot.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,ot.jsx)("div",{className:"bg-gray-50",children:(0,ot.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,ot.jsx)("div",{className:"grid grid-cols-3 divide-ot divide-gray-900/5 border-ot border-gray-900/5",children:r.map(n=>(0,ot.jsxs)("a",{href:n.href,className:"flex items-center max-ot-12 justify-center gap-ot-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,ot.jsx)(gt,{icon:n.icon,className:"ot-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),gt=({icon:t,className:e,size:r="lg"})=>{if(!t)return null;if("type"in t)return(0,ot.jsx)(rt,{...t,size:r});if("src"in t)return(0,ot.jsx)("div",{className:c(e,"ot-full max-w-32 items-start text-left"),children:t&&typeof t.src=="string"&&(0,ot.jsx)("img",{src:t.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},bt=Qr;var ee=require("react");function ht({children:t,isFluid:e=!1,isNoPadding:r=!1,className:a=""}){let n=c("container",e&&"full-width",r&&"no-padding",a);return(0,ot.jsx)("div",{className:n,children:t})}var xt=S(require("next/link"));function vt({children:t,href:e,openNewTab:r,...a}){return(0,ot.jsx)(xt.default,{href:e,target:r?"_blank":"_self",...a,children:t})}var Ge=S(require("next/image"));function ce({logoLight:t,logoDark:e,mobile:r=!1}){return(0,ot.jsxs)(vt,{href:"/",className:c(r?"py-1":"py-2"),children:[(0,ot.jsx)(Ge.default,{className:"logo-light dark:hidden",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}}),(0,ot.jsx)(Ge.default,{className:"logo-dark hidden dark:block",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}})]})}var kt=require("next-themes"),ye=require("lucide-react");function Nt({isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a}){let[n,o]=(0,ee.useState)(!1),[s,i]=(0,ee.useState)(""),l=["light","dark"],{theme:u,setTheme:b}=(0,kt.useTheme)();(0,ee.useEffect)(()=>{i(u||"dark")},[u]);let C=()=>{let g=l[(l.indexOf(s)+1)%l.length];i(g),b(g)};return(0,ee.useEffect)(()=>{let g=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsx)("header",{className:`ot-50 pb-10 transition-all duration-300 hidden lg:block ${n||t?"translate-ot-0":"-translate-ot-full bg-transparent"}`,children:(0,ot.jsx)(ht,{className:"px-0",children:(0,ot.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,ot.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,ot.jsx)(ce,{logoDark:r,logoLight:e}),(0,ot.jsx)(Z.PopoverGroup,{className:"hidden lg:flex lg:gap-ot-12",children:a&&a.map(g=>(0,ot.jsx)(bt,{...g},g.name))}),(0,ot.jsx)("div",{className:"flex items-center space-ot-4",children:(0,ot.jsx)("button",{className:"fixed right-4 ot-[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:C,children:(0,ot.jsxs)("div",{className:"relative",children:[(0,ot.jsx)(ye.Sun,{className:"absolute ot-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,ot.jsx)(ye.Moon,{className:"absoulte ot-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var xe=require("@heroicons/react/24/outline");var Oe=["light","dark"];function Rt({logoLight:t,logoDark:e,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,ee.useState)(!1),{theme:s,setTheme:i}=(0,kt.useTheme)(),[l,u]=(0,ee.useState)(!1),[b,C]=(0,ee.useState)("light");(0,ee.useEffect)(()=>{let p=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),(0,ee.useEffect)(()=>{C(s||"dark")},[s]);let g=()=>{let p=Oe[(Oe.indexOf(b)+1)%Oe.length];C(p),i(p)};return(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsxs)("header",{className:`ot-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-ot-0":"-translate-ot-full bg-transparent"}`,children:[(0,ot.jsx)("nav",{className:c("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,ot.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-b dark:border-accent",children:[(0,ot.jsx)(ce,{logoDark:e,logoLight:t,mobile:!0}),(0,ot.jsxs)("div",{className:"flex items-center space-ot-4",children:[(0,ot.jsxs)("button",{type:"button",onClick:()=>u(!0),className:"fixed right-4 ot-[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,ot.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,ot.jsx)(xe.Bars3Icon,{"aria-hidden":"true",className:"ot-4 w-4"})]}),(0,ot.jsx)("button",{className:"fixed right-16 ot-[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,ot.jsxs)("div",{className:"relative",children:[(0,ot.jsx)(ye.Sun,{className:"absolute ot-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,ot.jsx)(ye.Moon,{className:"absoulte ot-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,ot.jsxs)(Z.Dialog,{open:l,onClose:u,className:"lg:hidden",children:[(0,ot.jsx)("div",{className:"fixed inset-0 ot-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,ot.jsxs)(Z.DialogPanel,{className:"fixed inset-ot-0 right-0 ot-20 w-full overflow-ot-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,ot.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,ot.jsx)(ce,{logoDark:e,logoLight:t,mobile:!0}),(0,ot.jsxs)("button",{type:"button",onClick:()=>u(!1),className:"-ot-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,ot.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,ot.jsx)(xe.XMarkIcon,{"aria-hidden":"true",className:"ot-6 w-6"})]})]}),(0,ot.jsx)("div",{className:"mt-6 flow-root",children:(0,ot.jsx)("div",{className:"-my-6 divide-ot divide-gray-500/10",children:(0,ot.jsx)("div",{className:"space-ot-2 px-2 py-6",children:r&&r.map(p=>(0,ot.jsx)(jr,{...p},p.name))})})})]})]})]})})}function jr({name:t,items:e,actions:r,href:a}){return!e&&a?(0,ot.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:t}):(0,ot.jsxs)(Z.Disclosure,{as:"div",className:"-mx-3",children:[(0,ot.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:t}),(0,ot.jsx)(Z.DisclosurePanel,{className:"mt-2 space-ot-2",children:e&&e.map(n=>(0,ot.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 Tt({isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a,className:n}){return(0,ot.jsxs)("div",{className:c("fixed top-0 left-0 right-0 ot-50",n),children:[(0,ot.jsx)(Nt,{isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a}),(0,ot.jsx)(Rt,{isMenuOpen:t,logoLight:e,logoDark:r,menuItems:a})]})}var Yt=S(require("next/image"));var At=require("@radix-ui/react-slot"),It=require("class-variance-authority"),Bt=S(require("react")),Wr=(0,It.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:"ot-10 px-4 py-2",icon:"ot-10 w-10",lg:"ot-11 rounded px-8",sm:"ot-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),O=Bt.forwardRef(({asChild:t=!1,className:e,size:r,variant:a,...n},o)=>(0,ot.jsx)(t?At.Slot:"button",{className:c(Wr({className:e,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var Ue=S(require("next/link")),U=t=>{let{type:e,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:l,url:u}=t,b=e==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:u;if(!b)return null;let C=r==="link"?"clear":l,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ot.jsxs)(Ue.default,{className:c(n),href:b||u||"",...g,children:[o&&o,a&&a]}):(0,ot.jsx)(O,{asChild:!0,className:n,size:C,variant:r,children:(0,ot.jsxs)(Ue.default,{className:c(n),href:b||u||"",...g,children:[o&&o,a&&a]})})};var Ht=S(require("next/image"));var Mt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var we=()=>{if(Mt){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Kr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$r="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=",Lt=t=>{let{alt:e,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:l}=t,u,b,C=e,g=i||"";if(!g&&o&&typeof o=="object"){let{alt:f,filename:w,height:N,url:R,width:_}=o;u=_,b=N,C=f||"",g=`${we()}${R}`}let p=l||"lazy",P=s||Object.entries(Kr).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,ot.jsx)("picture",{children:(0,ot.jsx)(Ht.default,{alt:C||"",className:c(a),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:$r,priority:p!=="lazy"&&n,quality:100,loading:p,sizes:P,src:g,width:r?void 0:u})})};var Dt=t=>{let{onClick:e,resource:r,videoClassName:a}=t,n=(0,ee.useRef)(null);if((0,ee.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ot.jsx)("video",{autoPlay:!0,className:c(a),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:n,children:(0,ot.jsx)("source",{src:`${we()}/media/${o}`})})}return null};var Ne=t=>{var s;let{className:e,htmlElement:r="div",resource:a}=t,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,ot.jsx)(r||ee.Fragment,{...r!==null?{className:e}:{},children:n?(0,ot.jsx)(Dt,{...t}):(0,ot.jsx)(Lt,{...t})})};var zt=({className:t,content:e,style:r})=>(0,ot.jsx)("div",{className:c("mx-auto my-8 w-full",t),children:(0,ot.jsx)("div",{className:c("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,ot.jsx)(I,{content:e,enableGutter:!1,enableProse:!1})})});var Re=({links:t,richText:e})=>(0,ot.jsx)("div",{className:"container",children:(0,ot.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,ot.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,ot.jsx)(I,{className:"mb-0",content:e,enableGutter:!1})}),(0,ot.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},a)=>(0,ot.jsx)(U,{size:"lg",...r},a))})]})});var Te=require("prism-react-renderer");function Ot({code:t}){let[e,r]=(0,ee.useState)("Copy");function a(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,ot.jsx)("div",{className:"flex justify-end align-middle",children:(0,ot.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),a()},children:[(0,ot.jsx)("p",{children:e}),(0,ot.jsx)("div",{className:"w-6 ot-6 dark:invert",children:(0,ot.jsx)(ye.ClipboardCopy,{})})]})})}var Ut=({code:t,language:e=""})=>t?(0,ot.jsx)(Te.Highlight,{code:t,language:e,theme:Te.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,ot.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-ot-auto",children:[n.map((o,s)=>(0,ot.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ot.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,ot.jsx)("span",{className:"table-cell pl-4",children:o.map((i,l)=>(0,ot.jsx)("span",{...a({token:i})},l))})]},s)),(0,ot.jsx)(Ot,{code:t})]})}):null;var Jt=({className:t,code:e,language:r})=>(0,ot.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,ot.jsx)(Ut,{code:e,language:r})});var me=t=>{let{className:e,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=t;return(0,ot.jsx)("div",{className:c("",{container:r},e),children:(0,ot.jsx)(Ne,{imgClassName:c("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Ie=S(require("react"));function Ae({nodes:t}){return(0,ot.jsx)(Ie.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,ot.jsx)(Ie.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,ot.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,ot.jsx)("em",{children:o},r)),e.format&4&&(o=(0,ot.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,ot.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,ot.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,ot.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,ot.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,ot.jsx)("table",{children:(0,ot.jsx)("tbody",{children:e.children.map((o,s)=>(0,ot.jsx)("tr",{children:o.children.map((i,l)=>(0,ot.jsx)("td",{children:Ae({nodes:i.children})},l))},s))})},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 s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ae({nodes:o.children})},n="children"in e?a(e):"";if(e.type==="block"){let o=e.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,ot.jsx)(Re,{...o},r);case"mediaBlock":return(0,ot.jsx)(me,{className:"col-start-1 col-span-3",imgClassName:"ot-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ot.jsx)(zt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ot.jsx)(Jt,{className:"col-start-2",...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,ot.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ot.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=e==null?void 0:e.tag;return(0,ot.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:n},r)}case"list":{let o=e==null?void 0:e.tag;return(0,ot.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,ot.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:n},r):(0,ot.jsx)("li",{value:e==null?void 0:e.value,children:n},r);case"quote":return(0,ot.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=e.fields;return(0,ot.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var I=({className:t,content:e,enableGutter:r=!0,enableProse:a=!0})=>{var n;return e?(0,ot.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&Ae({nodes:(n=e==null?void 0:e.root)==null?void 0:n.children})}):null};var Xt=({links:t,media:e,children:r,richText:a})=>(0,ot.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,ot.jsx)("div",{className:"container mb-8 ot-10 relative flex items-end justify-center",children:(0,ot.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||a&&(0,ot.jsx)(I,{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:!1}),Array.isArray(t)&&t.length>0&&(0,ot.jsx)("ul",{className:"flex justify-center gap-4",children:t.map(({link:n},o)=>(0,ot.jsx)("li",{children:(0,ot.jsx)(U,{...n})},o))})]})}),(0,ot.jsxs)("div",{className:"min-ot-[80vh] select-none",children:[e&&typeof e=="object"&&(0,ot.jsx)(Ne,{fill:!0,imgClassName:"ot-5 object-cover",priority:!1,loading:"lazy",resource:e}),e&&typeof e=="string"&&(0,ot.jsx)("div",{children:(0,ot.jsx)(Yt.default,{className:"-ot-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),(0,ot.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Vt=({children:t,richText:e})=>(0,ot.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,ot.jsx)("div",{className:"container",children:t||e&&(0,ot.jsx)(I,{content:e,enableGutter:!1})})});var Ve=S(require("next/image"));var qr=({media:t})=>{if(t&&typeof t=="object"){let{alt:e,filename:r,height:a,url:n,width:o}=t;return(0,ot.jsx)(Ve.default,{className:"mix-blend-overlay opacity-50",alt:e||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(t&&typeof t=="string")return(0,ot.jsx)("div",{children:(0,ot.jsx)(Ve.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:t,style:{objectFit:"cover"}})});return null},Qt=({links:t,media:e,children:r,richText:a})=>(0,ot.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[e&&(0,ot.jsx)(qr,{media:e}),(0,ot.jsx)("div",{className:"mx-0 min-w-full relative ot-9",children:(0,ot.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,ot.jsx)(I,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Zr={highImpact:Xt,lowImpact:Vt,mediumImpact:Qt},jt=t=>{let{type:e}=t||{};if(!e||e==="none")return null;let r=Zr[e];return r?(0,ot.jsx)(r,{...t}):null};var Kt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,ot.jsx)("div",{className:"container my-6",children:(0,ot.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-ot-8 gap-ot-16",children:e&&e.length>0&&e.map((a,n)=>{let{enableLink:o,link:s,richText:i,size:l}=a;return(0,ot.jsxs)("div",{className:c(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[i&&(0,ot.jsx)(I,{content:i,enableGutter:!1}),o&&(0,ot.jsx)(U,{...s})]},n)})})})};var $t=({title:t,description:e,features:r,id:a})=>(0,ot.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,ot.jsx)("h2",{className:"mb-6 text-4xl font-bold tracking-tight md:text-5xl",id:a||"",children:t}),e&&typeof e=="string"&&(0,ot.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,ot.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,ot.jsx)(I,{content:e,enableGutter:!1})}),(0,ot.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,ot.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,ot.jsx)("div",{className:"text-accent ot-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,ot.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,ot.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),typeof n.content!="object"&&(0,ot.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),typeof n.content=="object"&&(0,ot.jsx)("div",{className:"text-lg opacity-80",children:(0,ot.jsx)(I,{content:n.content,enableGutter:!1})})]},o);return console.log("link",n.link),n.link?(0,ot.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var qt={content:Kt,cta:Re,mediaBlock:me,imageBlock:me,features:$t},er=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,ot.jsx)(ee.Fragment,{children:e.map((a,n)=>{let{blockType:o}=a;if(o&&o in qt){let s=qt[o];if(s)return(0,ot.jsx)("div",{className:"my-6",children:(0,ot.jsx)(s,{...a})},n)}return null})}):null};var tr="../cortex-reply-light-27IMI3G7.png";var rr="../cortex-reply-dark-XPAJJJYY.png";var j=S(require("react"));var te=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("rounded-xl border bg-card text-card-foreground shadow",t),...e}));te.displayName="Card";var re=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("flex flex-col space-ot-1.5 p-6",t),...e}));re.displayName="CardHeader";var oe=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("font-semibold leading-none tracking-tight",t),...e}));oe.displayName="CardTitle";var ro=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("text-sm text-muted-foreground",t),...e}));ro.displayName="CardDescription";var ae=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("p-6 pt-0",t),...e}));ae.displayName="CardContent";var oo=j.forwardRef(({className:t,...e},r)=>(0,ot.jsx)("div",{ref:r,className:c("flex items-center p-6 pt-0",t),...e}));oo.displayName="CardFooter";var Qe=S(require("next/link"));var or=S(require("next/link"));var nr=({links:t,title:e="Related Content"})=>(0,ot.jsxs)(te,{children:[(0,ot.jsx)(re,{children:(0,ot.jsx)(oe,{className:"text-accent",children:e})}),(0,ot.jsx)(ae,{children:(0,ot.jsx)("nav",{className:"flex flex-col space-ot-2",children:t.map((r,a)=>(0,ot.jsxs)(or.default,{href:r.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[r.title,r.url.startsWith("http")&&(0,ot.jsx)(ye.ExternalLink,{className:"ml-1 ot-3 w-3"})]},a))})})]});var sr=({children:t,pageId:e,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o={title:"Related Content",links:[]}})=>{let[s,i]=(0,ee.useState)(!1),[l,u]=(0,ee.useState)(""),b=()=>{i(!s)},C=p=>{switch(p){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},g=(p,P)=>{p.preventDefault();let f=document.getElementById(P);if(f){let N=f.offsetTop+-100,R=document.querySelector(".container")||window;R===window?window.scrollTo({top:N,behavior:"smooth"}):R.scrollTo({top:N,behavior:"smooth"}),u(P)}else console.error(`Element with ID "${P}" not found.`)};return(0,ee.useEffect)(()=>{let p=window.location.hash;if(p){let P=p.substring(1),f=document.getElementById(P);if(f){let N=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:N,behavior:"smooth"})}}},[]),(0,ot.jsxs)("div",{className:"container py-8",children:[(0,ot.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,ot.jsx)("div",{className:c(s?"col-span-2":"col-span-3","xl:col-span-3"),children:t}),(0,ot.jsxs)("div",{className:c("space-ot-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-ot-0 xl:-mt-20",s?"translate-ot-0":"md:translate-ot-full","xl:block xl:col-span-1 xl:translate-ot-0"),children:[r.length>3&&(0,ot.jsxs)(te,{className:"w-full max-w-sm mt-4",children:[(0,ot.jsx)(re,{children:(0,ot.jsx)(oe,{className:"text-accent",children:"On this page"})}),(0,ot.jsx)(ae,{children:(0,ot.jsx)("ul",{className:"space-ot-2",children:r.map((p,P)=>(0,ot.jsx)("li",{className:C(p.tag),children:(0,ot.jsx)("a",{href:`#${p.id}`,onClick:f=>g(f,p.id),className:`text-xs ${l===p.id?"text-accent font-semibold":"text-primary"} hover:text-accent`,children:p.text})},P))})})]}),a&&(0,ot.jsxs)(te,{children:[(0,ot.jsx)(re,{children:(0,ot.jsx)(oe,{children:"CMS Actions"})}),(0,ot.jsxs)(ae,{children:[(0,ot.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,ot.jsx)(Qe.default,{href:`${n}${e}`,children:(0,ot.jsx)(O,{variant:"outline",className:"w-full text-accent",children:"Edit Page"})}),(0,ot.jsx)(Qe.default,{href:"/admin/collections/pages/create",children:(0,ot.jsx)(O,{variant:"outline",className:"w-full mt-2 text-accent",children:"Create New"})})]})]}),o&&o.links.length>0&&(0,ot.jsx)(nr,{...o})]}),(0,ot.jsx)("button",{onClick:b,className:c("fixed top-1/2 right-0 ot-50 ot-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-ot-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,ot.jsx)("div",{className:"block md:hidden mt-8",children:(0,ot.jsx)("div",{className:"space-ot-6",children:t})})]})};function ir({...t}){let e=t.page,{contentWithIds:r,tableOfContents:a}=ut(e);return(0,ot.jsxs)("div",{className:"flex fixed flex-col w-screen ot-screen max-ot-screen overflow-auto overscroll-contain",children:[(0,ot.jsx)(Tt,{isMenuOpen:!0,logoLight:tr,logoDark:rr}),(0,ot.jsx)(jt,{...t.hero}),(0,ot.jsx)(sr,{edit:t.edit,pageId:t.page.id,tableOfContents:a,relatedContent:t.relatedContent,children:(0,ot.jsx)(er,{blocks:r})})]})}
|
package/dist/pages/Website.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-6ZXYKK6J.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-K6CEB2MJ.mjs";import"../chunk-S7CP4YF5.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-GFTFZ7JY.mjs";import"../chunk-O2DBG3NV.mjs";import"../chunk-PIHQ5WLE.mjs";import"../chunk-MZ45XGZG.mjs";import"../chunk-3ZQYE7M3.mjs";import"../chunk-ZE5A5R73.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as default};
|