cortex-react-components 1.56.4 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-43TBC2ZH.mjs → chunk-266LJXBZ.mjs} +1 -1
- package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-ILTBXZKO.mjs → chunk-2PGNGIFG.mjs} +1 -1
- package/dist/chunk-34BK5A3H.mjs +1 -0
- package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-IUW2STPH.mjs → chunk-65KHY3N2.mjs} +1 -1
- package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-F7WTJLZQ.mjs → chunk-BGOXSZO2.mjs} +1 -1
- package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
- package/dist/{chunk-5RBQ77B3.mjs → chunk-D7A7EUEW.mjs} +1 -1
- package/dist/{chunk-ZR2EHFQ7.mjs → chunk-DCNOQTXQ.mjs} +1 -1
- package/dist/{chunk-7UKMCL5L.mjs → chunk-DQEHH4CP.mjs} +1 -1
- package/dist/{chunk-NV6DJCV4.mjs → chunk-E2GQ2UH4.mjs} +1 -1
- package/dist/{chunk-MG76MN3Q.mjs → chunk-F6DSJZ6G.mjs} +1 -1
- package/dist/{chunk-4RAPLTKA.mjs → chunk-FSYU6GF6.mjs} +1 -1
- package/dist/{chunk-XFNVJTZJ.mjs → chunk-GFBRIWHO.mjs} +1 -1
- package/dist/{chunk-7F7S63JI.mjs → chunk-GHWZZAOE.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/{chunk-6DRKICKB.mjs → chunk-KGFHW5KZ.mjs} +1 -1
- package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
- package/dist/{chunk-ZNHNOPYF.mjs → chunk-NLU4IHO6.mjs} +1 -1
- package/dist/{chunk-Z2HNL6F6.mjs → chunk-NUKPO5ZV.mjs} +1 -1
- package/dist/{chunk-GYUMEOL2.mjs → chunk-OJPHYSRN.mjs} +1 -1
- package/dist/{chunk-56GKZ4U2.mjs → chunk-OPCNQTDN.mjs} +1 -1
- package/dist/{chunk-PFASTV4A.mjs → chunk-OPV35HTE.mjs} +1 -1
- package/dist/chunk-P5QTMPTP.mjs +1 -0
- package/dist/chunk-PDUZAE2B.mjs +4 -0
- package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
- package/dist/chunk-PKAWVXZZ.mjs +4 -0
- package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-F55C2C5H.mjs → chunk-RQ23CZK5.mjs} +1 -1
- package/dist/{chunk-ZRUQIDWQ.mjs → chunk-RXNOA32M.mjs} +1 -1
- package/dist/{chunk-UEY6HPXN.mjs → chunk-SEYRH7IM.mjs} +1 -1
- package/dist/{chunk-V5N56VWG.mjs → chunk-TZE7RZAV.mjs} +1 -1
- package/dist/{chunk-V7EILEQH.mjs → chunk-WFGGJBQS.mjs} +1 -1
- package/dist/{chunk-XLWVEKEK.mjs → chunk-XDWPQKFP.mjs} +1 -1
- package/dist/{chunk-J7HJZ7IS.mjs → chunk-XZLY4ZDO.mjs} +2 -2
- package/dist/{chunk-Z6AOKSZU.mjs → chunk-YC53LS6B.mjs} +1 -1
- package/dist/{chunk-7ZKGCT6M.mjs → chunk-Z7GQVIJO.mjs} +1 -1
- package/dist/{chunk-NVFHMFFW.mjs → chunk-ZWII7FHR.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +2 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.d.ts +1 -0
- package/dist/components/Blocks/CallToAction.js +2 -1
- package/dist/components/Blocks/CallToAction.mjs +2 -1
- package/dist/components/Blocks/CallToAction.stories.js +2 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +2 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +2 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +2 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +2 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +2 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +2 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +2 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +2 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +2 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +2 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +2 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +2 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +2 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +2 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +5 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +2 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +2 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +2 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +2 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +2 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +2 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +2 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +3 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +3 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +2 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +4 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -3
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +6 -5
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +2 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +2 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +2 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +2 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +8 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +13 -13
- 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 +2 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +2 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +2 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +222 -221
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +6 -5
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +6 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +6 -5
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +2 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +2 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +2 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +2 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +2 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +4 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +4 -3
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +2 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +2 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +2 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.js +2 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +2 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +2 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +2 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +2 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3LUYXQWZ.mjs +0 -1
- package/dist/chunk-6IVK75UA.mjs +0 -1
- package/dist/chunk-HF7UYIME.mjs +0 -1
- package/dist/chunk-RZWTH6SF.mjs +0 -4
package/dist/pages/Website.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
|
+
'use server'
|
|
3
4
|
|
|
4
|
-
"use strict";var Nr=Object.create;var ke=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Pr=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,Ir=Object.prototype.hasOwnProperty;var Br=(e,t)=>{for(var r in t)ke(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Pr(t))!Ir.call(e,s)&&s!==r&&ke(e,s,{get:()=>t[s],enumerable:!(a=Cr(t,s))||a.enumerable});return e};var L=(e,t,r)=>(r=e!=null?Nr(Rr(e)):{},ct(t||!e||!e.__esModule?ke(r,"default",{value:e,enumerable:!0}):r,e)),Tr=e=>ct(ke({},"__esModule",{value:!0}),e);var vo={};Br(vo,{default:()=>kr});module.exports=Tr(vo);var dt=require("react/jsx-runtime"),me=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",l=s+o+" fa-"+r+" "+n;return(0,dt.jsx)("i",{className:l})};var ae=require("@headlessui/react"),kt=require("@heroicons/react/20/solid");var yt=require("clsx");var Ue="-",Ar=e=>{let t=Mr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let l=n.split(Ue);return l[0]===""&&l.length!==1&&l.shift(),ut(l,t)||Sr(n)},getConflictingClassGroupIds:(n,l)=>{let i=r[n]||[];return l&&a[n]?[...i,...a[n]]:i}}},ut=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?ut(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Ue);return(n=t.validators.find(({validator:l})=>l(o)))==null?void 0:n.classGroupId},mt=/^\[(.+)\]$/,Sr=e=>{if(mt.test(e)){let t=mt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Lr(Object.entries(e.classGroups),r).forEach(([o,n])=>{Oe(n,a,o,t)}),a},Oe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:pt(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(zr(s)){Oe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{Oe(n,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Ue).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},zr=e=>e.isThemeGetter,Lr=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,l])=>[t+n,l])):o);return[r,s]}):e,Fr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},ft="!",Dr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=l=>{let i=[],d=0,m=0,f;for(let k=0;k<l.length;k++){let N=l[k];if(d===0){if(N===s&&(a||l.slice(k,k+o)===t)){i.push(l.slice(m,k)),m=k+o;continue}if(N==="/"){f=k;continue}}N==="["?d++:N==="]"&&d--}let g=i.length===0?l:l.substring(m),b=g.startsWith(ft),h=b?g.substring(1):g,v=f&&f>m?f-m:void 0;return{modifiers:i,hasImportantModifier:b,baseClassName:h,maybePostfixModifierPosition:v}};return r?l=>r({className:l,parseClassName:n}):n},Hr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Er=e=>({cache:Fr(e.cacheSize),parseClassName:Dr(e),...Ar(e)}),Gr=/\s+/,Or=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(Gr),l="";for(let i=n.length-1;i>=0;i-=1){let d=n[i],{modifiers:m,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:b}=r(d),h=!!b,v=a(h?g.substring(0,b):g);if(!v){if(!h){l=d+(l.length>0?" "+l:l);continue}if(v=a(g),!v){l=d+(l.length>0?" "+l:l);continue}h=!1}let k=Hr(m).join(":"),N=f?k+ft:k,C=N+v;if(o.includes(C))continue;o.push(C);let S=s(v,h);for(let T=0;T<S.length;++T){let te=S[T];o.push(N+te)}l=d+(l.length>0?" "+l:l)}return l};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=gt(t))&&(a&&(a+=" "),a+=r);return a}var gt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=gt(e[a]))&&(r&&(r+=" "),r+=t);return r};function jr(e,...t){let r,a,s,o=n;function n(i){let d=t.reduce((m,f)=>f(m),e());return r=Er(d),a=r.cache.get,s=r.cache.set,o=l,l(i)}function l(i){let d=a(i);if(d)return d;let m=Or(i,r);return s(i,m),m}return function(){return o(Ur.apply(null,arguments))}}var I=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ht=/^\[(?:([a-dt-]+):)?(.+)\]$/i,Jr=/^\d+\/\d+$/,_r=new Set(["px","full","screen"]),Yr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(dt|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qr=/^(inset_)?-?((\d+)?\.?(\d+)[a-dt]+|0)dt-?((\d+)?\.?(\d+)[a-dt]+|0)/,Wr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>re(e)||_r.has(e)||Jr.test(e),V=e=>oe(e,"length",oo),re=e=>!!e&&!Number.isNaN(Number(e)),Ge=e=>oe(e,"number",re),pe=e=>!!e&&Number.isInteger(Number(e)),$r=e=>e.endsWith("%")&&re(e.slice(0,-1)),u=e=>ht.test(e),X=e=>Yr.test(e),qr=new Set(["length","size","percentage"]),Kr=e=>oe(e,qr,bt),Zr=e=>oe(e,"position",bt),eo=new Set(["image","url"]),to=e=>oe(e,eo,no),ro=e=>oe(e,"",ao),ue=()=>!0,oe=(e,t,r)=>{let a=ht.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},oo=e=>Vr.test(e)&&!Xr.test(e),bt=()=>!1,ao=e=>Qr.test(e),no=e=>Wr.test(e);var so=()=>{let e=I("colors"),t=I("spacing"),r=I("blur"),a=I("brightness"),s=I("borderColor"),o=I("borderRadius"),n=I("borderSpacing"),l=I("borderWidth"),i=I("contrast"),d=I("grayscale"),m=I("hueRotate"),f=I("invert"),g=I("gap"),b=I("gradientColorStops"),h=I("gradientColorStopPositions"),v=I("inset"),k=I("margin"),N=I("opacity"),C=I("padding"),S=I("saturate"),T=I("scale"),te=I("sepia"),rt=I("skew"),ot=I("space"),at=I("translate"),Fe=()=>["auto","contain","none"],De=()=>["auto","hidden","clip","visible","scroll"],He=()=>["auto",u,t],B=()=>[u,t],nt=()=>["",j,V],ve=()=>["auto",re,u],st=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],we=()=>["solid","dashed","dotted","double","none"],lt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ee=()=>["start","end","center","between","around","evenly","stretch"],de=()=>["","0",u],it=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[re,u];return{cacheSize:500,separator:":",theme:{colors:[ue],spacing:[j,V],blur:["none","",X,u],brightness:U(),borderColor:[e],borderRadius:["none","","full",X,u],borderSpacing:B(),borderWidth:nt(),contrast:U(),grayscale:de(),hueRotate:U(),invert:de(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[$r,V],inset:He(),margin:He(),opacity:U(),padding:B(),saturate:U(),scale:U(),sepia:de(),skew:U(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[X]}],"break-after":[{"break-after":it()}],"break-before":[{"break-before":it()}],"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:[...st(),u]}],overflow:[{overflow:De()}],"overflow-dt":[{"overflow-dt":De()}],"overflow-dt":[{"overflow-dt":De()}],overscroll:[{overscroll:Fe()}],"overscroll-dt":[{"overscroll-dt":Fe()}],"overscroll-dt":[{"overscroll-dt":Fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-dt":[{"inset-dt":[v]}],"inset-dt":[{"inset-dt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],dt:[{dt:["auto",pe,u]}],basis:[{basis:He()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:de()}],shrink:[{shrink:de()}],order:[{order:["first","last","none",pe,u]}],"grid-cols":[{"grid-cols":[ue]}],"col-start-end":[{col:["auto",{span:["full",pe,u]},u]}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":[ue]}],"row-start-end":[{row:["auto",{span:[pe,u]},u]}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[g]}],"gap-dt":[{"gap-dt":[g]}],"gap-dt":[{"gap-dt":[g]}],"justify-content":[{justify:["normal",...Ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],dt:[{dt:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],ne:[{ne:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-dt":[{"space-dt":[ot]}],"space-dt-reverse":["space-dt-reverse"],"space-dt":[{"space-dt":[ot]}],"space-dt-reverse":["space-dt-reverse"],dt:[{dt:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-dt":[{"min-dt":[u,t,"min","max","fit"]}],"max-dt":[{"max-dt":[u,t,"none","full","min","max","fit","prose",{screen:[X]},X]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",X,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ge]}],"font-family":[{font:[ue]}],"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",u]}],"line-clamp":[{"line-clamp":["none",re,Ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,V]}],"underline-offset":[{"underline-offset":["auto",j,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"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:[...st(),Zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","dt","dt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},to]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],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-dt":[{"rounded-dt":[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-dt":[{border:[l]}],"border-dt-dt":[{"border-dt":[l]}],"border-dt-dt":[{"border-dt":[l]}],"border-dt-s":[{"border-s":[l]}],"border-dt-e":[{"border-e":[l]}],"border-dt-t":[{"border-t":[l]}],"border-dt-r":[{"border-r":[l]}],"border-dt-b":[{"border-b":[l]}],"border-dt-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...we(),"hidden"]}],"divide-dt":[{"divide-dt":[l]}],"divide-dt-reverse":["divide-dt-reverse"],"divide-dt":[{"divide-dt":[l]}],"divide-dt-reverse":["divide-dt-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:we()}],"border-color":[{border:[s]}],"border-color-dt":[{"border-dt":[s]}],"border-color-dt":[{"border-dt":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...we()]}],"outline-offset":[{"outline-offset":[j,u]}],"outline-dt":[{outline:[j,V]}],"outline-color":[{outline:[e]}],"ring-dt":[{ring:nt()}],"ring-dt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-dt":[{"ring-offset":[j,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,ro]}],"shadow-color":[{shadow:[ue]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...lt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":lt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",X,u]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[f]}],saturate:[{saturate:[S]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-dt":[{"border-spacing-dt":[n]}],"border-spacing-dt":[{"border-spacing-dt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-dt":[{"scale-dt":[T]}],"scale-dt":[{"scale-dt":[T]}],rotate:[{rotate:[pe,u]}],"translate-dt":[{"translate-dt":[at]}],"translate-dt":[{"translate-dt":[at]}],"skew-dt":[{"skew-dt":[rt]}],"skew-dt":[{"skew-dt":[rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","dt-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","dt","dt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-dt":[{"scroll-dt":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-ne":[{"scroll-ne":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","dt","dt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-dt":[{"touch-pan":["dt","left","right"]}],"touch-dt":[{"touch-pan":["dt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-dt":[{stroke:[j,V,Ge]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-dt","overflow-dt"],overscroll:["overscroll-dt","overscroll-dt"],inset:["inset-dt","inset-dt","start","end","top","right","bottom","left"],"inset-dt":["right","left"],"inset-dt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-dt","gap-dt"],dt:["px","py","ps","pe","pt","ne","pb","pl"],px:["ne","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["dt","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-dt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-dt"],"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-dt","border-spacing-dt"],"border-dt":["border-dt-s","border-dt-e","border-dt-t","border-dt-r","border-dt-b","border-dt-l"],"border-dt-dt":["border-dt-r","border-dt-l"],"border-dt-dt":["border-dt-t","border-dt-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-dt":["border-color-r","border-color-l"],"border-color-dt":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-dt":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-ne","scroll-pb","scroll-pl"],"scroll-px":["scroll-ne","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-dt","touch-dt","touch-pz"],"touch-dt":["touch"],"touch-dt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var xt=jr(so);function c(...e){return xt((0,yt.clsx)(e))}function vt(e){let t=0,r=(o,n)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\dt-]/g,"")}-${n}`,a=e.layout.flatMap(o=>{let n=[];return"title"in o&&o.title&&n.push({text:o.title,id:r(o.title,t++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(l=>{var i,d,m,f,g;if(l.title&&n.push({text:l.title,id:r(l.title,t++),tag:"h2"}),(d=(i=l.richText)==null?void 0:i.root)!=null&&d.children&&((f=(m=l.richText)==null?void 0:m.root)==null?void 0:f.children.length)===1){let b=l.richText.root.children.filter(h=>h!==void 0&&h.type==="heading");for(let h of b)h.children[0]&&n.push({text:(g=h.children[0].text)!=null?g:"",id:r(h.children[0].text,t++),tag:h.tag||"h2"})}}),n}),s=lo(e.layout);return{tableOfContents:a,contentWithIds:s}}function lo(e){let t=(a,s)=>`${a.toLowerCase().replace(/\s+/g,"-").replace(/[^\dt-]/g,"")}-${s}`,r=0;return e.map(a=>(a.title&&(a.id=t(a.title,r++)),a.columns&&(a.columns=a.columns.map(s=>(s.title&&(s.id=t(s.title,r++)),s.richText&&(s.richText.root.children=s.richText.root.children.filter(o=>o!==void 0).filter(o=>o.children!==void 0&&o.children.length>0).map(o=>(o.type==="heading"&&o.children[0].text&&(o.id=t(o.children[0].text,r++)),o))),s))),a))}var io=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,dt.jsx)("a",{href:a,className:"flex items-center gap-dt-1 text-sm text-foreground group",children:(0,dt.jsxs)("span",{className:"relative",children:[e,(0,dt.jsx)("span",{className:"absolute -bottom-1 left-1/2 dt-1/2 h-0.5 bg-accent transform -translate-dt-1/2 scale-dt-0 transition-transform duration-300 ease-in-out group-hover:scale-dt-100"})]})}):(0,dt.jsxs)(ae.Popover,{children:[(0,dt.jsxs)(ae.PopoverButton,{className:"flex items-center gap-dt-1 text-sm/6 text-foreground outline-none group",children:[(0,dt.jsxs)("span",{className:"relative",children:[e,(0,dt.jsx)("span",{className:"absolute bottom-0 left-1/2 dt-1/2 h-0.5 bg-accent transform -translate-dt-1/2 scale-dt-0 transition-transform duration-300 ease-in-out group-hover:scale-dt-100"})]}),(0,dt.jsx)(kt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 dt-5 flex-none text-accent"})]}),(0,dt.jsxs)(ae.PopoverPanel,{transition:!0,className:"absolute inset-dt-0 top-0 -dt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-dt-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,dt.jsx)("div",{className:"mx-auto grid max-dt-7xl grid-cols-4 gap-dt-4 px-6 py-10 lg:px-8 xl:gap-dt-8 dt-50",children:t&&t.map(s=>(0,dt.jsxs)("div",{className:"group relative rounded-lg dt-6 text-sm/6 box-border",children:[(0,dt.jsx)("div",{className:"flex h-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:s.icon&&(0,dt.jsx)(wt,{icon:s.icon,size:"4x"})}),(0,dt.jsxs)("a",{href:s.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[s.name,(0,dt.jsx)("span",{className:"absolute inset-0"})]}),(0,dt.jsx)("dt",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,dt.jsx)("div",{className:"bg-gray-50",children:(0,dt.jsx)("div",{className:"mx-auto max-dt-7xl px-6 lg:px-8",children:(0,dt.jsx)("div",{className:"grid grid-cols-3 divide-dt divide-gray-900/5 border-dt border-gray-900/5",children:r.map(s=>(0,dt.jsxs)("a",{href:s.href,className:"flex items-center max-h-12 justify-center gap-dt-2.5 dt-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,dt.jsx)(wt,{icon:s.icon,className:"h-5 dt-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),wt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,dt.jsx)(me,{...e,size:r});if("src"in e)return(0,dt.jsx)("div",{className:c(t,"h-full max-dt-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,dt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Nt=io;var Ct=L(require("next/link"));function Pt({children:e,href:t,openNewTab:r,...a}){return(0,dt.jsx)(Ct.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Ne=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,dt.jsx)("div",{className:"dt-full h-[1240px] dt-20",children:(0,dt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:c(t,"absolute -bottom-[2px] flex"),children:[(0,dt.jsx)("defs",{children:(0,dt.jsxs)("mask",{id:"mask",children:[(0,dt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,dt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,dt.jsx)("rect",{dt:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,dt.jsx)("div",{className:"dt-full h-[70px] md:h-[332px] dt-20 ",children:(0,dt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:c(t,"absolute "),style:{fontSize:0,float:"left",transform:"scale(-1, 1)"},children:[(0,dt.jsx)("defs",{children:(0,dt.jsxs)("mask",{id:"mask",children:[(0,dt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return(0,dt.jsx)("div",{className:"dt-full h-[70px] md:h-[332px] dt-20 content-end block overflow-hidden",children:(0,dt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:c(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,dt.jsx)("defs",{children:(0,dt.jsxs)("mask",{id:"mask",children:[(0,dt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,dt.jsx)("div",{className:"dt-full min-h-[70px] md:min-h-[350px] dt-20 content-start block overflow-hidden bg-white",children:(0,dt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:c(t,"dt-full block overflow-hidden"),children:(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,dt.jsx)("div",{className:"dt-full min-h-[70px] md:min-h-[350px] dt-20 content-end block overflow-hidden",children:(0,dt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:c(t,"dt-full block overflow-hidden"),transform:r[3],children:(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,dt.jsx)("div",{className:"dt-full min-h-[70px] md:min-h-[350px] dt-20 content-end block overflow-hidden -mb-[1px]",children:(0,dt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:c(t,"dt-full block overflow-hidden"),children:(0,dt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var ne=require("react");var je=L(require("next/image"));function ge({logoLight:e,logoDark:t,mobile:r=!1}){return(0,dt.jsxs)(Pt,{href:"/",className:c(r?"py-1":"py-2"),children:[(0,dt.jsx)(je.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,dt.jsx)(je.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var It=require("next-themes"),Ce=require("lucide-react");function Tt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s=!1,wide:o=!1}){let[n,l]=(0,ne.useState)(!1),[i,d]=(0,ne.useState)(""),m=["light","dark"],{theme:f,setTheme:g}=(0,It.useTheme)();(0,ne.useEffect)(()=>{d(f||"dark")},[f]);let b=()=>{let h=m[(m.indexOf(i)+1)%m.length];d(h),g(h)};return(0,ne.useEffect)(()=>{let h=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsx)("header",{className:`dt-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-dt-0":"-translate-dt-full bg-transparent"}`,children:(0,dt.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white dt-0",children:(0,dt.jsxs)("div",{className:c("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,dt.jsx)(ge,{logoDark:r,logoLight:t}),(0,dt.jsx)(ae.PopoverGroup,{className:"hidden lg:flex lg:gap-dt-12",children:a&&a.map(h=>(0,dt.jsx)(Nt,{...h},h.name))}),s&&(0,dt.jsx)("button",{className:"fixed right-4 dt-[60] dt-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:b,children:(0,dt.jsxs)("div",{className:"relative",children:[(0,dt.jsx)(Ce.Sun,{className:"absolute h-6 dt-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,dt.jsx)(Ce.Moon,{className:"absoulte h-6 dt-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Pe=require("@heroicons/react/24/outline");var Je=["light","dark"];function St({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[s,o]=(0,ne.useState)(!1),{theme:n,setTheme:l}=(0,It.useTheme)(),[i,d]=(0,ne.useState)(!1),[m,f]=(0,ne.useState)("light");(0,ne.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,ne.useEffect)(()=>{f(n||"dark")},[n]);let g=()=>{let b=Je[(Je.indexOf(m)+1)%Je.length];f(b),l(b)};return(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsxs)("header",{className:`dt-50 pb-10 transition-all duration-300 block lg:hidden ${s||a?"translate-dt-0":"-translate-dt-full bg-transparent"}`,children:[(0,dt.jsx)("nav",{className:c("backdrop-blur-sm text-white dt-0",i&&"hidden"),children:(0,dt.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&dt.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,dt.jsx)(ge,{logoDark:t,logoLight:e,mobile:!0}),(0,dt.jsx)("div",{className:"flex items-center space-dt-4",children:(0,dt.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 dt-[60] dt-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,dt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,dt.jsx)(Pe.Bars3Icon,{"aria-hidden":"true",className:"h-4 dt-4"})]})})]})}),(0,dt.jsxs)(ae.Dialog,{open:i,onClose:d,className:"lg:hidden",children:[(0,dt.jsx)("div",{className:"fixed inset-0 dt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,dt.jsxs)(ae.DialogPanel,{className:"fixed inset-dt-0 right-0 dt-20 dt-full overflow-dt-auto bg-background dark:bg-[#212124] px-2 sm:max-dt-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,dt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,dt.jsx)(ge,{logoDark:t,logoLight:e,mobile:!0}),(0,dt.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md dt-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,dt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,dt.jsx)(Pe.XMarkIcon,{"aria-hidden":"true",className:"h-6 dt-6"})]})]}),(0,dt.jsx)("div",{className:"mt-6 flow-root",children:(0,dt.jsx)("div",{className:"-my-6 divide-dt divide-gray-500/10",children:(0,dt.jsx)("div",{className:"space-dt-2 px-2 py-6",children:r&&r.map(b=>(0,dt.jsx)(co,{...b},b.name))})})})]})]})]})})}function co({name:e,items:t,actions:r,href:a}){return!t&&a?(0,dt.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,dt.jsxs)(ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,dt.jsx)(ae.DisclosureButton,{className:"group flex dt-full items-center justify-between rounded-lg py-2 pl-3 ne-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,dt.jsx)(ae.DisclosurePanel,{className:"mt-2 space-dt-2",children:t&&t.map(s=>(0,dt.jsx)(ae.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 ne-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}function Mt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:s,wide:o,themeControl:n=!1}){return(0,dt.jsxs)("div",{className:c("fixed top-0 left-0 right-0 dt-50",s),children:[(0,dt.jsx)(Tt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n,wide:o}),(0,dt.jsx)(St,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var er=L(require("next/image"));var zt=require("@radix-ui/react-slot"),Lt=require("class-variance-authority"),Ft=L(require("react")),mo=(0,Lt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 dt-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),be=Ft.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,dt.jsx)(e?zt.Slot:"button",{className:c(mo({className:t,size:r,variant:a})),ref:o,...s}));be.displayName="Button";var _e=L(require("next/link")),J=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:l,size:i,url:d}=e,m=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!m)return null;let f=r==="link"?"clear":i,g=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,dt.jsxs)(_e.default,{className:c(s),href:m||d||"",...g,children:[o&&o,a&&a]}):(0,dt.jsx)(be,{asChild:!0,className:s,size:f,variant:r,children:(0,dt.jsxs)(_e.default,{className:c(s),href:m||d||"",...g,children:[o&&o,a&&a]})})};var Et=L(require("next/image")),po={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ht="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=",Gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:l,loading:i}=e,d,m,f=t,g=l||"";if(!g&&o&&typeof o=="object"){let{alt:v,filename:k,height:N,url:C,width:S}=o;if(N&&N>500){let T=500/N;d=S*T,m=N*T}else d=S,m=N;f=v||"",g=C||Ht}let b=i||"lazy",h=n||Object.entries(po).map(([,v])=>`(max-width: ${v}px) ${v*2}dt`).join(", ");return(0,dt.jsx)("picture",{children:(0,dt.jsx)(Et.default,{alt:f||"",className:c(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Ht,priority:b!=="lazy"&&s,quality:100,loading:b,sizes:h,src:g,width:r?void 0:d})})};var Ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ut=()=>{if(Ot){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var jt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,ne.useRef)(null);if((0,ne.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,dt.jsx)("video",{autoPlay:!0,className:c(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,dt.jsx)("source",{src:`${Ut()}/media/${o}`})})}return null};var se=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,dt.jsx)(r||ne.Fragment,{...r!==null?{className:t}:{},children:s?(0,dt.jsx)(jt,{...e}):(0,dt.jsx)(Gt,{...e})})};var _t=({className:e,content:t,style:r})=>(0,dt.jsx)("div",{className:c("mx-auto my-8 dt-full",e),children:(0,dt.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,dt.jsx)(A,{content:t,enableGutter:!1,enableProse:!1})})});var le=({links:e,richText:t})=>(0,dt.jsx)("div",{className:"container",children:(0,dt.jsxs)("div",{className:"bg-card rounded border-border border dt-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,dt.jsx)("div",{className:"max-dt-[48rem] flex items-center",children:t&&(0,dt.jsx)(A,{className:"mb-0",content:t,enableGutter:!1})}),(0,dt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,dt.jsx)(J,{size:"lg",...r},a))})]})});var Te=require("prism-react-renderer");function Xt({code:e}){let[t,r]=(0,ne.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,dt.jsx)("div",{className:"flex justify-end align-middle",children:(0,dt.jsxs)(be,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,dt.jsx)("dt",{children:t}),(0,dt.jsx)("div",{className:"dt-6 h-6 dark:invert",children:(0,dt.jsx)(Ce.ClipboardCopy,{})})]})})}var Qt=({code:e,language:t=""})=>e?(0,dt.jsx)(Te.Highlight,{code:e,language:t,theme:Te.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,dt.jsxs)("pre",{className:"bg-black dt-4 border text-xs border-border rounded overflow-dt-auto",children:[s.map((o,n)=>(0,dt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,dt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,dt.jsx)("span",{className:"table-cell pl-4",children:o.map((l,i)=>(0,dt.jsx)("span",{...a({token:l})},i))})]},n)),(0,dt.jsx)(Xt,{code:e})]})}):null;var Wt=({className:e,code:t,language:r})=>(0,dt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,dt.jsx)(Qt,{code:t,language:r})});var W=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,dt.jsx)("div",{className:c("h-full ",{container:r},t),children:(0,dt.jsx)(se,{imgClassName:c("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var $t=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,dt.jsx)("div",{className:c("",{container:r},t),children:(0,dt.jsx)(se,{imgClassName:c("rounded-[0.8rem]",a),resource:s,src:o})})};var Kt=L(require("next/image"));function qt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function $e({image:e,icon:t,title:r,subtitle:a,content:s,statistic:o,settings:n,link:l,className:i}){var f,g;let d={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"dt-1/4","1/3":"dt-1/3","1/2":"dt-1/2",full:"dt-full",auto:"dt-full"};return(0,dt.jsxs)("div",{className:c("min-dt-56 max-dt-xl h-full flex flex-col group",e?"dt-0 md:dt-0":"dt-8 md:dt-8",n&&!e&&d[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",m[(f=n==null?void 0:n.width)!=null?f:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,i),children:[e&&(0,dt.jsx)("div",{className:"relative h-1/2 lg:h-2/3 dt-full mb-0",children:(0,dt.jsx)(Kt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,dt.jsxs)("div",{className:c(e?"dt-4 md:dt-1 md:px-8":"dt-0 md:dt-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[a&&(0,dt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:a}),(0,dt.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,dt.jsx)(uo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(n==null?void 0:n.card)==="default"?"solid":(g=n==null?void 0:n.card)!=null?g:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),o&&(0,dt.jsx)("div",{className:"mb-6",children:(0,dt.jsx)("div",{className:c("text-4xl text-wrap font-bold leading-none overflow-hidden",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,dt.jsx)(A,{enableGutter:!1,content:s,enableProse:!1,className:c("space-dt-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose prose-headings:text-foreground prose-dt:text-foreground":"prose prose-headings:text-white prose-dt:text-gray-100",e&&"prose prose-headings:text-background prose-dt:text-background")}),s&&typeof s=="string"&&(0,dt.jsx)("div",{className:c("space-dt-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,dt.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,dt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(n==null?void 0:n.card)==="radial"&&(0,dt.jsx)("div",{className:"absolute bottom-0 right-0 dt-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var uo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,dt.jsxs)("div",{className:"flex items-start justify-between dt-full mb-2",children:[(0,dt.jsx)("div",{className:c("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),qt(e)&&(0,dt.jsx)("div",{className:c("rounded-full dt-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,dt.jsx)(me,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,dt.jsxs)("div",{className:"flex flex-col gap-4",children:[qt(e)&&(0,dt.jsx)("div",{className:c("h-12 dt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,dt.jsx)(me,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,dt.jsx)("h3",{className:c("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,dt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,dt.jsx)("div",{className:c("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ie=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,dt.jsxs)("section",{className:c(!s&&"container","dt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,dt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,dt.jsx)("dt",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,dt.jsx)("dt",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,dt.jsx)(A,{content:t,enableGutter:!1})}),(0,dt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,n)=>{var i;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,dt.jsx)($e,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:n},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(i=l())!=null?i:{type:"none",icon:null}},n)})})]});var Ae=L(require("react"));function ye({nodes:e}){return(0,dt.jsx)(Ae.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,dt.jsx)(Ae.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,dt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,dt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,dt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,dt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,dt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,dt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,dt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,dt.jsx)("table",{children:(0,dt.jsx)("tbody",{children:t.children.map((o,n)=>(0,dt.jsx)("tr",{children:o.children.map((l,i)=>(0,dt.jsx)("td",{children:ye({nodes:l.children})},i))},n))})},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 n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return ye({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,dt.jsx)(le,{...o},r);case"mediaBlock":return(0,dt.jsx)(W,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-dt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,dt.jsx)($t,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-dt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,dt.jsx)(_t,{className:"col-start-2 mb-4",...o},r);case"code":return(0,dt.jsx)(Wt,{className:"col-start-2",...o},r);case"features":return(0,dt.jsx)(ie,{...o,nested:!0},r);case"reusableContentBlock":ye({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,dt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,dt.jsx)("dt",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,dt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,dt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,dt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,dt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,dt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,dt.jsx)(J,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,dt.jsx)(J,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var A=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,dt.jsx)("div",{className:c({"container ":r,"max-dt-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ye({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var tr=({links:e,media:t,children:r,richText:a})=>(0,dt.jsx)("div",{children:(0,dt.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,dt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 dt-10 flex items-start justify-center",children:[r||a&&(0,dt.jsx)(A,{className:"max-dt-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-dt:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,dt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},o)=>(0,dt.jsx)("li",{children:(0,dt.jsx)(J,{...s})},o))})]}),(0,dt.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,dt.jsx)(se,{fill:!0,imgClassName:"dt-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,dt.jsx)("div",{children:(0,dt.jsx)(er.default,{className:"-dt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,dt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,dt.jsx)(Ne,{className:"text-black dt-10",position:"header"})]})});var rr=({children:e,richText:t})=>(0,dt.jsx)("div",{className:"min-dt-full py-10 bg-muted mt-24",children:(0,dt.jsx)("div",{className:"container",children:e||t&&(0,dt.jsx)(A,{content:t,enableGutter:!1})})});var qe=L(require("next/image"));var fo=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:s,width:o}=e;return(0,dt.jsx)(qe.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:s||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,dt.jsx)("div",{children:(0,dt.jsx)(qe.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},or=({links:e,media:t,children:r,richText:a})=>(0,dt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,dt.jsx)(fo,{media:t}),(0,dt.jsx)("div",{className:"mx-0 min-dt-full relative dt-9",children:(0,dt.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,dt.jsx)(A,{className:"prose-headings:text-brand-one-foreground prose-dt:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ke=L(require("next/image"));var ar=({title:e,image:t})=>(0,dt.jsx)("div",{children:(0,dt.jsxs)("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[(0,dt.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 dt-10 flex items-start justify-start",children:(0,dt.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,dt.jsxs)("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[t&&typeof t=="object"&&(0,dt.jsx)(Ke.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,dt.jsx)("div",{children:(0,dt.jsx)(Ke.default,{className:"-dt-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,dt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,dt.jsx)(Ne,{className:"text-black dt-10",position:"header"})]})});var go={highImpact:tr,lowImpact:rr,mediumImpact:or,sectionHero:ar},sr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=go[t];return r?(0,dt.jsx)(r,{...e}):null};var ur=L(require("next/image"));var ze=e=>{var l;let{columns:t,theme:r}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"},s={none:"",line:"border border-primary dt-4 rounded-lg"},o=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let d of i.root.children)if(o(d))return!0}if(i.children){for(let d of i.children)if(o(d))return!0}return!1},n=(i,d,m)=>{if(d==="none"||m==="full")return{processedRichText:i,heading:null};let f=i,g=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(f={...i,root:{...i.root,children:i.root.children.slice(1)}},g=i.root.children[0]),{processedRichText:f,heading:g}};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:c("grid grid-cols-4 lg:grid-cols-12 gap-dt-8",(l=r==null?void 0:r.settings)!=null&&l.box?"gap-dt-8":"gap-dt-16"),children:t&&t.length>0&&t.map((i,d)=>{var k,N;let{enableLink:m,link:f,richText:g,size:b}=i,{processedRichText:h,heading:v}=n(g,((k=r==null?void 0:r.settings)==null?void 0:k.box)||"none",b||"full");return(0,$.jsxs)("div",{className:c(`col-span-4 lg:col-span-${a[b]}`,{"md:col-span-2":b!=="full"},s[b!=="full"&&!o(g)&&((N=r==null?void 0:r.settings)==null?void 0:N.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${d+1}00`),children:[v&&(0,$.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:v.children[0].text}),h&&(0,$.jsx)(A,{content:h,enableGutter:!1,className:"rich-text"}),m&&(0,$.jsx)(J,{...f})]},d)})})})};var ir=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,dt.jsx)(ho,{blocks:r.layout}):(0,dt.jsx)(dt.Fragment,{})},lr={content:ze,cta:le,mediaBlock:W,imageBlock:W,features:ie},ho=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,dt.jsx)(dt.Fragment,{children:t.map((a,s)=>{var l,i;let{blockType:o}=a,n=a==null?void 0:a.theme;if(o&&o in lr){let d=lr[o];if(d)return(0,dt.jsxs)("div",{className:"py-6 relative",children:[(0,dt.jsx)(Ze,{block:a,index:s}),(0,dt.jsx)("div",{className:c(((l=n==null?void 0:n.settings)==null?void 0:l.theme)==="dark"?"dark":((i=n==null?void 0:n.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,dt.jsx)(d,{...a})})]},s)}return null})}):null};var cr=L(require("react")),ce=L(require("@radix-ui/react-collapsible")),Le=require("@radix-ui/react-icons");var dr=({title:e,richText:t})=>{let[r,a]=cr.default.useState(!1);return(0,dt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,dt.jsxs)(ce.Root,{className:c("dt-full"),open:r,onOpenChange:a,children:[(0,dt.jsxs)(ce.Trigger,{className:"flex dt-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,dt.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,dt.jsx)(Le.ChevronUpIcon,{className:"h-6 dt-6"}):(0,dt.jsx)(Le.ChevronDownIcon,{className:"h-6 dt-6"})]}),(0,dt.jsx)(ce.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,dt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,dt.jsx)(A,{content:t||{},enableGutter:!1})})})]})})};var mr={content:ze,cta:le,mediaBlock:W,collapsibleArea:dr,imageBlock:W,features:ie,reusableContentBlock:ir},et=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,dt.jsx)("section",{id:"render-blocks",className:c(e.fill?"h-full dt-full":""),children:t.map((a,s)=>{var l;console.log("block",a);let{blockType:o}=a,n=a==null?void 0:a.theme;if(o&&o in mr){let i=mr[o];if(o==="reusableContentBlock")return(0,dt.jsx)(ne.Fragment,{children:(0,dt.jsx)(et,{blocks:a.reusableContent.layout})},s);if(i)return(0,dt.jsxs)("div",{className:c("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,dt.jsx)(Ze,{block:a,index:s}),(0,dt.jsx)("div",{className:c("container h-full relative",((l=n==null?void 0:n.settings)==null?void 0:l.theme)||"dark"),children:(0,dt.jsx)(i,{...a})})]},s)}return null})}):null},Ze=e=>{var r,a,s,o,n;if(!("theme"in e.block))return(0,dt.jsx)("div",{className:c("absolute inset-0 dt-screen h-full dark bg-background")});let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let l={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,dt.jsxs)("div",{className:c("absolute inset-0 dt-full h-full bg-background",t.settings.theme||"dark"),children:[(0,dt.jsx)(ur.default,{src:((s=(a=t.settings)==null?void 0:a.image)==null?void 0:s.url)||"/placeholder.svg",alt:((n=(o=t.settings)==null?void 0:o.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,dt.jsx)("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,dt.jsx)("div",{className:c("absolute inset-0 dt-screen h-full bg-background",t.settings.theme||"dark")})};var fr="../cortex-reply-light-27IMI3G7.png";var gr="../cortex-reply-dark-XPAJJJYY.png";var tt=L(require("next/link"));var br=require("next/navigation"),yr=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,l]=(0,ne.useState)(!1),i=()=>{l(!n)};return(0,ne.useEffect)(()=>{let d=window.location.hash;if(d){let m=d.substring(1),f=document.getElementById(m);if(f){let b=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:b,behavior:"smooth"})}}},[window.location.hash]),(0,dt.jsxs)("div",{children:[(0,dt.jsx)("div",{className:c(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,dt.jsx)(yo,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,dt.jsx)("div",{className:"block md:hidden mt-8",children:(0,dt.jsx)("div",{className:"space-dt-6",children:e})})]})};var yo=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,l]=(0,ne.useState)(""),[i,d]=(0,ne.useState)(!1),[m,f]=(0,ne.useState)(!1),g=(0,br.usePathname)(),b=()=>{d(!i),f(!1)},h=()=>{f(!m),d(!1)},v=C=>{switch(C){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=()=>{let C=g.split("/"),S="/print"+g,T=window.open(S,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");T&&T.focus()},N=()=>{let C=g.split("/"),S="/present"+g,T=window.open(S,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");T&&T.focus()};return(0,dt.jsx)("div",{className:c("fixed right-2 dt-20 top-1/4 space-dt-6 transform transition-transform duration-300 translate-dt-full",o?"translate-dt-0":"md:translate-dt-0"),children:(0,dt.jsxs)("div",{className:"flex flex-row-reverse dt-20 min-dt-64 gap-4",children:[(0,dt.jsxs)("nav",{className:"dt-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card dt-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-dt-[54px] flex-col rounded-lg border",children:[(0,dt.jsxs)(tt.default,{href:`${a}${e}`,className:"flex aspect-square min-h-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md dt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,dt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,dt.jsxs)("a",{onClick:b,className:"flex aspect-square min-h-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md dt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,dt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,dt.jsxs)("a",{onClick:h,className:"flex aspect-square min-h-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md dt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,dt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,dt.jsx)("Ce",{className:"dark:border-gray-400"}),(0,dt.jsxs)("a",{onClick:N,className:"flex aspect-square min-h-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md dt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,dt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,dt.jsxs)("a",{onClick:k,className:"flex aspect-square min-h-[25px] dt-12 flex-col items-center justify-center gap-1 rounded-md dt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,dt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,dt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),i&&(0,dt.jsx)("div",{className:c("dt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 dt-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-dt-[54px] flex-col rounded-lg border"),children:(0,dt.jsxs)("div",{className:"flex flex-col m-2 justify-start dt-50 min-dt-64",children:[(0,dt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,dt.jsx)("ul",{className:"flex flex-col space-dt-2",children:t.map((C,S)=>(0,dt.jsx)("li",{className:v(C.tag),children:(0,dt.jsx)("a",{href:`#${C.id}`,className:`text-xs ${n===C.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:C.text})},S))})]})}),m&&s&&s.length>0&&(0,dt.jsx)("div",{className:c("dt-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 dt-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-dt-[54px] flex-col rounded-lg border"),children:(0,dt.jsxs)("div",{className:"flex flex-col m-2 justify-start dt-50 min-dt-64",children:[(0,dt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,dt.jsx)("ul",{className:"flex flex-col space-dt-2",children:s.map((C,S)=>C.links&&C.links.length>0?C.links.map((T,te)=>(0,dt.jsxs)(tt.default,{href:T.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[T.title,T.url.startsWith("http")&&(0,dt.jsx)(Ce.ExternalLink,{className:"ml-1 h-3 dt-3"})]},te)):null)})]})})]})})};var vr=require("tailwindcss-intersect");function kr({...e}){let t=e.page,{contentWithIds:r,tableOfContents:a}=vt(t);return(0,ne.useEffect)(()=>{vr.Observer.start()},[]),(0,dt.jsxs)("div",{className:"flex fixed flex-col dt-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,dt.jsx)(Mt,{isMenuOpen:!0,logoLight:fr,logoDark:gr}),(0,dt.jsx)(sr,{...e.hero}),(0,dt.jsx)(yr,{edit:e.edit,pageId:e.page.id,tableOfContents:a,relatedContent:e.relatedContent,children:(0,dt.jsx)(et,{blocks:r})})]})}
|
|
5
|
+
"use strict";var Or=Object.create;var Ie=Object.defineProperty;var Ur=Object.getOwnPropertyDescriptor;var jr=Object.getOwnPropertyNames;var Jr=Object.getPrototypeOf,Yr=Object.prototype.hasOwnProperty;var _r=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},vt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of jr(t))!Yr.call(e,s)&&s!==r&&Ie(e,s,{get:()=>t[s],enumerable:!(a=Ur(t,s))||a.enumerable});return e};var L=(e,t,r)=>(r=e!=null?Or(Jr(e)):{},vt(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),Vr=e=>vt(Ie({},"__esModule",{value:!0}),e);var jo={};_r(jo,{default:()=>Gr});module.exports=Vr(jo);var wt=require("react/jsx-runtime"),he=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,n=a!=null?a:"",l=s+o+" fa-"+r+" "+n;return(0,wt.jsx)("i",{className:l})};var ie=require("@headlessui/react"),zt=require("@heroicons/react/20/solid");var At=require("clsx");var Qe="-",$r=e=>{let t=Xr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let l=n.split(Qe);return l[0]===""&&l.length!==1&&l.shift(),Nt(l,t)||qr(n)},getConflictingClassGroupIds:(n,l)=>{let c=r[n]||[];return l&&a[n]?[...c,...a[n]]:c}}},Nt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Nt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Qe);return(n=t.validators.find(({validator:l})=>l(o)))==null?void 0:n.classGroupId},kt=/^\[(.+)\]$/,qr=e=>{if(kt.test(e)){let t=kt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Qr(Object.entries(e.classGroups),r).forEach(([o,n])=>{We(n,a,o,t)}),a},We=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ct(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Wr(s)){We(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,n])=>{We(n,Ct(t,o),r,a)})})},Ct=(e,t)=>{let r=e;return t.split(Qe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Wr=e=>e.isThemeGetter,Qr=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,l])=>[t+n,l])):o);return[r,s]}):e,Kr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,n)=>{r.set(o,n),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let n=r.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){r.has(o)?r.set(o,n):s(o,n)}}},Pt="!",Zr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,n=l=>{let c=[],d=0,m=0,f;for(let k=0;k<l.length;k++){let C=l[k];if(d===0){if(C===s&&(a||l.slice(k,k+o)===t)){c.push(l.slice(m,k)),m=k+o;continue}if(C==="/"){f=k;continue}}C==="["?d++:C==="]"&&d--}let g=c.length===0?l:l.substring(m),h=g.startsWith(Pt),b=h?g.substring(1):g,v=f&&f>m?f-m:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:v}};return r?l=>r({className:l,parseClassName:n}):n},eo=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},to=e=>({cache:Kr(e.cacheSize),parseClassName:Zr(e),...$r(e)}),ro=/\s+/,oo=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],n=e.trim().split(ro),l="";for(let c=n.length-1;c>=0;c-=1){let d=n[c],{modifiers:m,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:h}=r(d),b=!!h,v=a(b?g.substring(0,h):g);if(!v){if(!b){l=d+(l.length>0?" "+l:l);continue}if(v=a(g),!v){l=d+(l.length>0?" "+l:l);continue}b=!1}let k=eo(m).join(":"),C=f?k+Pt:k,N=C+v;if(o.includes(N))continue;o.push(N);let z=s(v,b);for(let A=0;A<z.length;++A){let ne=z[A];o.push(C+ne)}l=d+(l.length>0?" "+l:l)}return l};function ao(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Bt(t))&&(a&&(a+=" "),a+=r);return a}var Bt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Bt(e[a]))&&(r&&(r+=" "),r+=t);return r};function no(e,...t){let r,a,s,o=n;function n(c){let d=t.reduce((m,f)=>f(m),e());return r=to(d),a=r.cache.get,s=r.cache.set,o=l,l(c)}function l(c){let d=a(c);if(d)return d;let m=oo(c,r);return s(c,m),m}return function(){return o(ao.apply(null,arguments))}}var T=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},It=/^\[(?:([a-z-]+):)?(.+)\]$/i,so=/^\d+\/\d+$/,lo=new Set(["px","full","screen"]),io=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,co=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(wt|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,po=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,uo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>se(e)||lo.has(e)||so.test(e),X=e=>le(e,"length",wo),se=e=>!!e&&!Number.isNaN(Number(e)),Xe=e=>le(e,"number",se),xe=e=>!!e&&Number.isInteger(Number(e)),fo=e=>e.endsWith("%")&&se(e.slice(0,-1)),u=e=>It.test(e),W=e=>io.test(e),go=new Set(["length","size","percentage"]),bo=e=>le(e,go,Tt),ho=e=>le(e,"position",Tt),xo=new Set(["image","url"]),yo=e=>le(e,xo,Co),vo=e=>le(e,"",ko),ye=()=>!0,le=(e,t,r)=>{let a=It.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},wo=e=>co.test(e)&&!mo.test(e),Tt=()=>!1,ko=e=>po.test(e),Co=e=>uo.test(e);var No=()=>{let e=T("colors"),t=T("spacing"),r=T("blur"),a=T("brightness"),s=T("borderColor"),o=T("borderRadius"),n=T("borderSpacing"),l=T("borderWidth"),c=T("contrast"),d=T("grayscale"),m=T("hueRotate"),f=T("invert"),g=T("gap"),h=T("gradientColorStops"),b=T("gradientColorStopPositions"),v=T("inset"),k=T("margin"),C=T("opacity"),N=T("padding"),z=T("saturate"),A=T("scale"),ne=T("sepia"),ut=T("skew"),ft=T("space"),gt=T("translate"),_e=()=>["auto","contain","none"],Ve=()=>["auto","hidden","clip","visible","scroll"],$e=()=>["auto",u,t],R=()=>[u,t],bt=()=>["",V,X],Pe=()=>["auto",se,u],ht=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Be=()=>["solid","dashed","dotted","double","none"],xt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],be=()=>["","0",u],yt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[se,u];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[V,X],blur:["none","",W,u],brightness:_(),borderColor:[e],borderRadius:["none","","full",W,u],borderSpacing:R(),borderWidth:bt(),contrast:_(),grayscale:be(),hueRotate:_(),invert:be(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[fo,X],inset:$e(),margin:$e(),opacity:_(),padding:R(),saturate:_(),scale:_(),sepia:be(),skew:_(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":yt()}],"break-before":[{"break-before":yt()}],"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:[...ht(),u]}],overflow:[{overflow:Ve()}],"overflow-wt":[{"overflow-wt":Ve()}],"overflow-wt":[{"overflow-wt":Ve()}],overscroll:[{overscroll:_e()}],"overscroll-wt":[{"overscroll-wt":_e()}],"overscroll-wt":[{"overscroll-wt":_e()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-wt":[{"inset-wt":[v]}],"inset-wt":[{"inset-wt":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xe,u]}],basis:[{basis:$e()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:be()}],shrink:[{shrink:be()}],order:[{order:["first","last","none",xe,u]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",xe,u]},u]}],"col-start":[{"col-start":Pe()}],"col-end":[{"col-end":Pe()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[xe,u]},u]}],"row-start":[{"row-start":Pe()}],"row-end":[{"row-end":Pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[g]}],"gap-wt":[{"gap-wt":[g]}],"gap-wt":[{"gap-wt":[g]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],wt:[{wt:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],wt:[{wt:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],wt:[{wt:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-wt":[{"space-wt":[ft]}],"space-wt-reverse":["space-wt-reverse"],"space-wt":[{"space-wt":[ft]}],"space-wt-reverse":["space-wt-reverse"],wt:[{wt:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-wt":[{"min-wt":[u,t,"min","max","fit"]}],"max-wt":[{"max-wt":[u,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,X]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xe]}],"font-family":[{font:[ye]}],"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",u]}],"line-clamp":[{"line-clamp":["none",se,Xe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,X]}],"underline-offset":[{"underline-offset":["auto",V,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ht(),ho]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","wt","wt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","wt","b","bl","l","tl"]},yo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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-wt":[{"rounded-wt":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-wt":[{border:[l]}],"border-wt-wt":[{"border-wt":[l]}],"border-wt-wt":[{"border-wt":[l]}],"border-wt-s":[{"border-s":[l]}],"border-wt-e":[{"border-e":[l]}],"border-wt-t":[{"border-t":[l]}],"border-wt-r":[{"border-r":[l]}],"border-wt-b":[{"border-b":[l]}],"border-wt-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...Be(),"hidden"]}],"divide-wt":[{"divide-wt":[l]}],"divide-wt-reverse":["divide-wt-reverse"],"divide-wt":[{"divide-wt":[l]}],"divide-wt-reverse":["divide-wt-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:Be()}],"border-color":[{border:[s]}],"border-color-wt":[{"border-wt":[s]}],"border-color-wt":[{"border-wt":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Be()]}],"outline-offset":[{"outline-offset":[V,u]}],"outline-wt":[{outline:[V,X]}],"outline-color":[{outline:[e]}],"ring-wt":[{ring:bt()}],"ring-wt-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-wt":[{"ring-offset":[V,X]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,vo]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...xt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",W,u]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[f]}],saturate:[{saturate:[z]}],sepia:[{sepia:[ne]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-wt":[{"border-spacing-wt":[n]}],"border-spacing-wt":[{"border-spacing-wt":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-wt":[{"scale-wt":[A]}],"scale-wt":[{"scale-wt":[A]}],rotate:[{rotate:[xe,u]}],"translate-wt":[{"translate-wt":[gt]}],"translate-wt":[{"translate-wt":[gt]}],"skew-wt":[{"skew-wt":[ut]}],"skew-wt":[{"skew-wt":[ut]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","wt-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","wt","wt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-wt":[{"scroll-wt":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-wt":[{"scroll-wt":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-wt":[{"scroll-wt":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","wt","wt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-wt":[{"touch-pan":["wt","left","right"]}],"touch-wt":[{"touch-pan":["wt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-wt":[{stroke:[V,X,Xe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-wt","overflow-wt"],overscroll:["overscroll-wt","overscroll-wt"],inset:["inset-wt","inset-wt","start","end","top","right","bottom","left"],"inset-wt":["right","left"],"inset-wt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-wt","gap-wt"],wt:["px","py","ps","wt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","wt","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["wt","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-wt","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-wt"],"rounded-b":["rounded-wt","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-wt","border-spacing-wt"],"border-wt":["border-wt-s","border-wt-e","border-wt-t","border-wt-r","border-wt-b","border-wt-l"],"border-wt-wt":["border-wt-r","border-wt-l"],"border-wt-wt":["border-wt-t","border-wt-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-wt":["border-color-r","border-color-l"],"border-color-wt":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-wt","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-wt":["scroll-px","scroll-py","scroll-ps","scroll-wt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-wt","touch-wt","touch-pz"],"touch-wt":["touch"],"touch-wt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Rt=no(No);function i(...e){return Rt((0,At.clsx)(e))}function St(e){let t=0,r=(o,n)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\wt-]/g,"")}-${n}`,a=e.layout.flatMap(o=>{let n=[];return"title"in o&&o.title&&n.push({text:o.title,id:r(o.title,t++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(l=>{var c,d,m,f,g;if(l.title&&n.push({text:l.title,id:r(l.title,t++),tag:"h2"}),(d=(c=l.richText)==null?void 0:c.root)!=null&&d.children&&((f=(m=l.richText)==null?void 0:m.root)==null?void 0:f.children.length)===1){let h=l.richText.root.children.filter(b=>b!==void 0&&b.type==="heading");for(let b of h)b.children[0]&&n.push({text:(g=b.children[0].text)!=null?g:"",id:r(b.children[0].text,t++),tag:b.tag||"h2"})}}),n}),s=Po(e.layout);return{tableOfContents:a,contentWithIds:s}}function Po(e){let t=(a,s)=>`${a.toLowerCase().replace(/\s+/g,"-").replace(/[^\wt-]/g,"")}-${s}`,r=0;return e.map(a=>(a.title&&(a.id=t(a.title,r++)),a.columns&&(a.columns=a.columns.map(s=>(s.title&&(s.id=t(s.title,r++)),s.richText&&(s.richText.root.children=s.richText.root.children.filter(o=>o!==void 0).filter(o=>o.children!==void 0&&o.children.length>0).map(o=>(o.type==="heading"&&o.children[0].text&&(o.id=t(o.children[0].text,r++)),o))),s))),a))}var Bo=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,wt.jsx)("a",{href:a,className:"flex items-center gap-wt-1 text-sm text-foreground group",children:(0,wt.jsxs)("span",{className:"relative",children:[e,(0,wt.jsx)("span",{className:"absolute -bottom-1 left-1/2 wt-1/2 h-0.5 bg-accent transform -translate-wt-1/2 scale-wt-0 transition-transform duration-300 ease-in-out group-hover:scale-wt-100"})]})}):(0,wt.jsxs)(ie.Popover,{children:[(0,wt.jsxs)(ie.PopoverButton,{className:"flex items-center gap-wt-1 text-sm/6 text-foreground outline-none group",children:[(0,wt.jsxs)("span",{className:"relative",children:[e,(0,wt.jsx)("span",{className:"absolute bottom-0 left-1/2 wt-1/2 h-0.5 bg-accent transform -translate-wt-1/2 scale-wt-0 transition-transform duration-300 ease-in-out group-hover:scale-wt-100"})]}),(0,wt.jsx)(zt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 wt-5 flex-none text-accent"})]}),(0,wt.jsxs)(ie.PopoverPanel,{transition:!0,className:"absolute inset-wt-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-wt-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,wt.jsx)("div",{className:"mx-auto grid max-wt-7xl grid-cols-4 gap-wt-4 px-6 py-10 lg:px-8 xl:gap-wt-8 z-50",children:t&&t.map(s=>(0,wt.jsxs)("div",{className:"group relative rounded-lg wt-6 text-sm/6 box-border",children:[(0,wt.jsx)("div",{className:"flex h-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:s.icon&&(0,wt.jsx)(Mt,{icon:s.icon,size:"4x"})}),(0,wt.jsxs)("a",{href:s.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[s.name,(0,wt.jsx)("span",{className:"absolute inset-0"})]}),(0,wt.jsx)("wt",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,wt.jsx)("div",{className:"bg-gray-50",children:(0,wt.jsx)("div",{className:"mx-auto max-wt-7xl px-6 lg:px-8",children:(0,wt.jsx)("div",{className:"grid grid-cols-3 divide-wt divide-gray-900/5 border-wt border-gray-900/5",children:r.map(s=>(0,wt.jsxs)("a",{href:s.href,className:"flex items-center max-h-12 justify-center gap-wt-2.5 wt-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,wt.jsx)(Mt,{icon:s.icon,className:"h-5 wt-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),Mt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,wt.jsx)(he,{...e,size:r});if("src"in e)return(0,wt.jsx)("div",{className:i(t,"h-full max-wt-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,wt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Lt=Bo;var Ft=L(require("next/link"));function Dt({children:e,href:t,openNewTab:r,...a}){return(0,wt.jsx)(Ft.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Te=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,wt.jsx)("div",{className:"wt-full h-[1240px] z-20",children:(0,wt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:i(t,"absolute -bottom-[2px] flex"),children:[(0,wt.jsx)("defs",{children:(0,wt.jsxs)("mask",{id:"mask",children:[(0,wt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,wt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,wt.jsx)("rect",{wt:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,wt.jsx)("div",{className:"wt-full h-[70px] md:h-[332px] z-20 ",children:(0,wt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:i(t,"absolute "),style:{fontSize:0,float:"left",transform:"scale(-1, 1)"},children:[(0,wt.jsx)("defs",{children:(0,wt.jsxs)("mask",{id:"mask",children:[(0,wt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return(0,wt.jsx)("div",{className:"wt-full h-[70px] md:h-[332px] z-20 content-end block overflow-hidden",children:(0,wt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:i(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,wt.jsx)("defs",{children:(0,wt.jsxs)("mask",{id:"mask",children:[(0,wt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,wt.jsx)("div",{className:"wt-full min-h-[70px] md:min-h-[350px] z-20 content-start block overflow-hidden bg-white",children:(0,wt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:i(t,"wt-full block overflow-hidden"),children:(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,wt.jsx)("div",{className:"wt-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:(0,wt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:i(t,"wt-full block overflow-hidden"),transform:r[3],children:(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,wt.jsx)("div",{className:"wt-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden -mb-[1px]",children:(0,wt.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:i(t,"wt-full block overflow-hidden"),children:(0,wt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var ce=require("react");var Ke=L(require("next/image"));function we({logoLight:e,logoDark:t,mobile:r=!1}){return(0,wt.jsxs)(Dt,{href:"/",className:i(r?"py-1":"py-2"),children:[(0,wt.jsx)(Ke.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,wt.jsx)(Ke.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var Et=require("next-themes"),Re=require("lucide-react");function Ot({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s=!1,wide:o=!1}){let[n,l]=(0,ce.useState)(!1),[c,d]=(0,ce.useState)(""),m=["light","dark"],{theme:f,setTheme:g}=(0,Et.useTheme)();(0,ce.useEffect)(()=>{d(f||"dark")},[f]);let h=()=>{let b=m[(m.indexOf(c)+1)%m.length];d(b),g(b)};return(0,ce.useEffect)(()=>{let b=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,wt.jsx)(wt.Fragment,{children:(0,wt.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-wt-0":"-translate-wt-full bg-transparent"}`,children:(0,wt.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white wt-0",children:(0,wt.jsxs)("div",{className:i("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,wt.jsx)(we,{logoDark:r,logoLight:t}),(0,wt.jsx)(ie.PopoverGroup,{className:"hidden lg:flex lg:gap-wt-12",children:a&&a.map(b=>(0,wt.jsx)(Lt,{...b},b.name))}),s&&(0,wt.jsx)("button",{className:"fixed right-4 z-[60] wt-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:h,children:(0,wt.jsxs)("div",{className:"relative",children:[(0,wt.jsx)(Re.Sun,{className:"absolute h-6 wt-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,wt.jsx)(Re.Moon,{className:"absoulte h-6 wt-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Ae=require("@heroicons/react/24/outline");var Ze=["light","dark"];function jt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[s,o]=(0,ce.useState)(!1),{theme:n,setTheme:l}=(0,Et.useTheme)(),[c,d]=(0,ce.useState)(!1),[m,f]=(0,ce.useState)("light");(0,ce.useEffect)(()=>{let h=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,ce.useEffect)(()=>{f(n||"dark")},[n]);let g=()=>{let h=Ze[(Ze.indexOf(m)+1)%Ze.length];f(h),l(h)};return(0,wt.jsx)(wt.Fragment,{children:(0,wt.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||a?"translate-wt-0":"-translate-wt-full bg-transparent"}`,children:[(0,wt.jsx)("nav",{className:i("backdrop-blur-sm text-white wt-0",c&&"hidden"),children:(0,wt.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,wt.jsx)(we,{logoDark:t,logoLight:e,mobile:!0}),(0,wt.jsx)("div",{className:"flex items-center space-wt-4",children:(0,wt.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 z-[60] wt-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,wt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,wt.jsx)(Ae.Bars3Icon,{"aria-hidden":"true",className:"h-4 wt-4"})]})})]})}),(0,wt.jsxs)(ie.Dialog,{open:c,onClose:d,className:"lg:hidden",children:[(0,wt.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,wt.jsxs)(ie.DialogPanel,{className:"fixed inset-wt-0 right-0 z-20 wt-full overflow-wt-auto bg-background dark:bg-[#212124] px-2 sm:max-wt-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,wt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,wt.jsx)(we,{logoDark:t,logoLight:e,mobile:!0}),(0,wt.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md wt-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,wt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,wt.jsx)(Ae.XMarkIcon,{"aria-hidden":"true",className:"h-6 wt-6"})]})]}),(0,wt.jsx)("div",{className:"mt-6 flow-root",children:(0,wt.jsx)("div",{className:"-my-6 divide-wt divide-gray-500/10",children:(0,wt.jsx)("div",{className:"space-wt-2 px-2 py-6",children:r&&r.map(h=>(0,wt.jsx)(Io,{...h},h.name))})})})]})]})]})})}function Io({name:e,items:t,actions:r,href:a}){return!t&&a?(0,wt.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,wt.jsxs)(ie.Disclosure,{as:"div",className:"-mx-3",children:[(0,wt.jsx)(ie.DisclosureButton,{className:"group flex wt-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,wt.jsx)(ie.DisclosurePanel,{className:"mt-2 space-wt-2",children:t&&t.map(s=>(0,wt.jsx)(ie.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}function Jt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:s,wide:o,themeControl:n=!1}){return(0,wt.jsxs)("div",{className:i("fixed top-0 left-0 right-0 z-50",s),children:[(0,wt.jsx)(Ot,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n,wide:o}),(0,wt.jsx)(jt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var hr=L(require("next/image"));var Yt=require("@radix-ui/react-slot"),_t=require("class-variance-authority"),Vt=L(require("react")),To=(0,_t.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 wt-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),ee=Vt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,$t.jsx)(e?Yt.Slot:"button",{className:i(To({className:t,size:r,variant:a})),ref:o,...s}));ee.displayName="Button";var et=L(require("next/link")),$=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:n,reference:l,size:c,url:d}=e,m=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!m)return null;let f=r==="link"?"clear":c,g=n?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,wt.jsxs)(et.default,{className:i(s),href:m||d||"",...g,children:[o&&o,a&&a]}):(0,wt.jsx)(ee,{asChild:!0,className:s,size:f,variant:r,children:(0,wt.jsxs)(et.default,{className:i(s),href:m||d||"",...g,children:[o&&o,a&&a]})})};var Xt=L(require("next/image")),Ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Wt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:n,src:l,loading:c}=e,d,m,f=t,g=l||"";if(!g&&o&&typeof o=="object"){let{alt:v,filename:k,height:C,url:N,width:z}=o;if(C&&C>500){let A=500/C;d=z*A,m=C*A}else d=z,m=C;f=v||"",g=N||qt}let h=c||"lazy",b=n||Object.entries(Ro).map(([,v])=>`(max-width: ${v}px) ${v*2}wt`).join(", ");return(0,wt.jsx)("picture",{children:(0,wt.jsx)(Xt.default,{alt:f||"",className:i(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:qt,priority:h!=="lazy"&&s,quality:100,loading:h,sizes:b,src:g,width:r?void 0:d})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Kt=()=>{if(Qt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Zt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,ce.useRef)(null);if((0,ce.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,wt.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,wt.jsx)("source",{src:`${Kt()}/media/${o}`})})}return null};var de=e=>{var n;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,wt.jsx)(r||ce.Fragment,{...r!==null?{className:t}:{},children:s?(0,wt.jsx)(Zt,{...e}):(0,wt.jsx)(Wt,{...e})})};var tr=({className:e,content:t,style:r})=>(0,wt.jsx)("div",{className:i("mx-auto my-8 wt-full",e),children:(0,wt.jsx)("div",{className:i("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,wt.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});function Le({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] wt-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Ao({className:e,...t}){return(0,wt.jsx)("input",{...t,className:Le({className:e})})}function Fe({icon:e,...t}){return(0,wt.jsxs)("div",{className:"relative wt-full",children:[(0,wt.jsx)(Ao,{...t}),e&&(0,wt.jsx)("span",{className:"absolute right-5 top-1/2 wt-[14px] -translate-wt-1/2 text-accent",children:e})]})}function So({className:e,...t}){return(0,wt.jsx)("textarea",{...t,className:i(Le({}),"resize-none md:min-h-[130px]",e)})}function rr({icon:e,...t}){return(0,wt.jsxs)("div",{className:"relative wt-full",children:[(0,wt.jsx)(So,{...t}),e&&(0,wt.jsx)("span",{className:"absolute right-5 top-[18px] wt-[14px] text-accent",children:e})]})}var ar=require("formik"),nr=require("react-icons/fa6"),te=L(require("yup"));async function or(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ot=require("sonner"),U={tooShort:"Must be wt least ${min} characters",tooLong:"Must be wt most ${max} characters",required:"This field is required",email:"Invalid email format"},Mo=te.object().shape({name:te.string().min(2,U.tooShort).max(50,U.tooLong).required(U.required),email:te.string().email(U.email).required(U.required),subject:te.string().min(2,U.tooShort).max(50,U.tooLong).required(U.required),message:te.string().min(2,U.tooShort).max(300,U.tooLong).required(U.required)}),De=i("!pr-[44px] text-foreground"),He=i("!border-red-600 border"),Ee=i("sr-only");function sr(){return(0,wt.jsx)(ar.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Mo,onSubmit:async(e,{resetForm:t})=>{let r=await or(e);r.data===null?ot.toast.error(r.message):(ot.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:n})=>(0,wt.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,wt.jsxs)("div",{children:[(0,wt.jsx)(Fe,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,wt.jsx)(nr.FaUser,{className:"text-primary"}),className:i(De,e.name&&t.name&&He)}),e.name&&t.name&&(0,wt.jsx)("wt",{title:e.name,"aria-live":"polite",role:"error message",className:Ee,children:e.name})]}),(0,wt.jsxs)("div",{children:[(0,wt.jsx)(Fe,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,wt.jsx)(zo,{}),className:i(De,e.email&&t.email&&He)}),e.email&&t.email&&(0,wt.jsx)("wt",{title:e.email,"aria-live":"polite",role:"error message",className:Ee,children:e.email})]}),(0,wt.jsxs)("div",{className:"lg:col-span-2",children:[(0,wt.jsx)(Fe,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:i(De,e.subject&&t.subject&&He)}),e.subject&&t.subject&&(0,wt.jsx)("wt",{title:e.subject,"aria-live":"polite",role:"error message",className:Ee,children:e.subject})]}),(0,wt.jsxs)("div",{className:"lg:col-span-2",children:[(0,wt.jsx)(rr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,wt.jsx)(Lo,{}),className:i(De,e.message&&t.message&&He)}),e.message&&t.message&&(0,wt.jsx)("wt",{title:e.message,"aria-live":"polite",role:"error message",className:Ee,children:e.message})]}),(0,wt.jsx)("div",{className:"lg:col-span-2 light",children:(0,wt.jsx)(ee,{type:"submit",className:"wt-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,wt.jsx)("span",{children:"Send"})})})]})})}function zo(){return(0,wt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,wt.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function Lo(){return(0,wt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,wt.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var ue=({links:e,richText:t})=>{let[r,a]=(0,ce.useState)(!1),s=()=>a(!0),o=()=>a(!1),n=l=>{l.target===l.currentTarget&&o()};return(0,wt.jsxs)("div",{className:"relative isolate overflow-hidden bg-black",children:[(0,wt.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,wt.jsxs)("div",{className:"mx-auto max-wt-2xl text-center prose",children:[t&&(0,wt.jsx)(M,{className:"mb-0 prose-wt:text-white text-white",content:t,enableGutter:!1}),(0,wt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-wt-6",children:(0,wt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:l},c)=>(l==null?void 0:l.url)==="/contact"?(0,wt.jsx)("div",{onClick:s,className:"rounded-full px-3.5 py-2.5 border border-accent text-white no-underline cursor-pointer",children:l.label},c):(0,wt.jsx)($,{size:"lg",className:"rounded-full px-3.5 py-2.5 border border-accent text-white no-underline",...l},c))})})]})}),r&&(0,wt.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:n,children:(0,wt.jsxs)("div",{className:"bg-white wt-6 pt-10 rounded-lg shadow-lg wt-full max-wt-lg relative",children:[(0,wt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),(0,wt.jsx)(sr,{})," "]})}),(0,wt.jsxs)("svg",{viewBox:"0 0 1024 1024","aria-hidden":"true",className:"absolute left-1/2 top-1/2 -z-10 size-[64rem] -translate-wt-1/2 [mask-image:radial-gradient(closest-side,white,transparent)]",children:[(0,wt.jsx)("circle",{r:512,cx:512,cy:512,fill:"url(#8d958450-c69f-4251-94bc-4e091a323369)",fillOpacity:"0.7"}),(0,wt.jsx)("defs",{children:(0,wt.jsxs)("radialGradient",{id:"8d958450-c69f-4251-94bc-4e091a323369",children:[(0,wt.jsx)("stop",{stopColor:"#22B2AA"}),(0,wt.jsx)("stop",{offset:1,stopColor:"#22B2AA"})]})})]})]})};var Ge=require("prism-react-renderer");function dr({code:e}){let[t,r]=(0,ce.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,wt.jsx)("div",{className:"flex justify-end align-middle",children:(0,wt.jsxs)(ee,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,wt.jsx)("wt",{children:t}),(0,wt.jsx)("div",{className:"wt-6 h-6 dark:invert",children:(0,wt.jsx)(Re.ClipboardCopy,{})})]})})}var mr=({code:e,language:t=""})=>e?(0,wt.jsx)(Ge.Highlight,{code:e,language:t,theme:Ge.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,wt.jsxs)("pre",{className:"bg-black wt-4 border text-xs border-border rounded overflow-wt-auto",children:[s.map((o,n)=>(0,wt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,wt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,wt.jsx)("span",{className:"table-cell pl-4",children:o.map((l,c)=>(0,wt.jsx)("span",{...a({token:l})},c))})]},n)),(0,wt.jsx)(dr,{code:e})]})}):null;var pr=({className:e,code:t,language:r})=>(0,wt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,wt.jsx)(mr,{code:t,language:r})});var Q=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,wt.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,wt.jsx)(de,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var ur=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,wt.jsx)("div",{className:i("",{container:r},t),children:(0,wt.jsx)(de,{imgClassName:i("rounded-[0.8rem]",a),resource:s,src:o})})};var gr=L(require("next/image"));function fr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function lt({image:e,icon:t,title:r,subtitle:a,content:s,statistic:o,settings:n,link:l,className:c}){var f,g;let d={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-wt from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-wt from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"wt-1/4","1/3":"wt-1/3","1/2":"wt-1/2",full:"wt-full",auto:"wt-full"};return(0,wt.jsxs)("div",{className:i("min-wt-56 max-wt-xl h-full flex flex-col group",e?"wt-0 md:wt-0":"wt-8 md:wt-8",n&&!e&&d[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",m[(f=n==null?void 0:n.width)!=null?f:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,wt.jsx)("div",{className:"relative h-1/2 lg:h-2/3 wt-full mb-0",children:(0,wt.jsx)(gr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,wt.jsxs)("div",{className:i(e?"wt-4 md:wt-1 md:px-8":"wt-0 md:wt-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[a&&(0,wt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:a}),(0,wt.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,wt.jsx)(Fo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(n==null?void 0:n.card)==="default"?"solid":(g=n==null?void 0:n.card)!=null?g:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),o&&(0,wt.jsx)("div",{className:"mb-6",children:(0,wt.jsx)("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,wt.jsx)(M,{enableGutter:!1,content:s,enableProse:!1,className:i("space-wt-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose prose-headings:text-foreground prose-wt:text-foreground":"prose prose-headings:text-white prose-wt:text-gray-100",e&&"prose prose-headings:text-background prose-wt:text-background")}),s&&typeof s=="string"&&(0,wt.jsx)("div",{className:i("space-wt-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,wt.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,wt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(n==null?void 0:n.card)==="radial"&&(0,wt.jsx)("div",{className:"absolute bottom-0 right-0 wt-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var Fo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,wt.jsxs)("div",{className:"flex items-start justify-between wt-full mb-2",children:[(0,wt.jsx)("div",{className:i("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),fr(e)&&(0,wt.jsx)("div",{className:i("rounded-full wt-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,wt.jsx)(he,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,wt.jsxs)("div",{className:"flex flex-col gap-4",children:[fr(e)&&(0,wt.jsx)("div",{className:i("h-12 wt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,wt.jsx)(he,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,wt.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,wt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,wt.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var fe=({title:e,description:t,features:r,id:a,nested:s=!1})=>(0,wt.jsxs)("section",{className:i(s?"wt-full":"container",""),children:[(0,wt.jsxs)("div",{className:"prose prose:max-wt-none",children:[e&&(0,wt.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,wt.jsx)("wt",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,wt.jsx)("wt",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,wt.jsx)(M,{content:t,enableGutter:!1})})]}),(0,wt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,n)=>{var c;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,wt.jsx)(lt,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:n},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",icon:null}},n)})})]});var Oe=L(require("react"));function Ne({nodes:e}){return(0,wt.jsx)(Oe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,wt.jsx)(Oe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,wt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,wt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,wt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,wt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,wt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,wt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,wt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,wt.jsx)("table",{children:(0,wt.jsx)("tbody",{children:t.children.map((o,n)=>(0,wt.jsx)("tr",{children:o.children.map((l,c)=>(0,wt.jsx)("td",{children:Ne({nodes:l.children})},c))},n))})},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 n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return Ne({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,wt.jsx)(ue,{...o},r);case"mediaBlock":return(0,wt.jsx)(Q,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-wt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,wt.jsx)(ur,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-wt-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,wt.jsx)(tr,{className:"col-start-2 mb-4",...o},r);case"code":return(0,wt.jsx)(pr,{className:"col-start-2",...o},r);case"features":return(0,wt.jsx)(fe,{...o,nested:!0},r);case"reusableContentBlock":Ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,wt.jsx)("wt",{className:"col-start-2"},r);case"paragraph":return(0,wt.jsx)("wt",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,wt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,wt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,wt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,wt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,wt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,wt.jsx)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,wt.jsx)($,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var M=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,wt.jsx)("div",{className:i({"container ":r,"max-wt-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ne({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var xr=({links:e,media:t,children:r,richText:a})=>(0,wt.jsx)("div",{children:(0,wt.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,wt.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,wt.jsx)(M,{className:"max-wt-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-wt:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,wt.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},o)=>(0,wt.jsx)("li",{children:(0,wt.jsx)($,{...s})},o))})]}),(0,wt.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,wt.jsx)(de,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,wt.jsx)("div",{children:(0,wt.jsx)(hr.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,wt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,wt.jsx)(Te,{className:"text-black z-10",position:"header"})]})});var yr=({children:e,richText:t})=>(0,wt.jsx)("div",{className:"min-wt-full py-10 bg-muted mt-24",children:(0,wt.jsx)("div",{className:"container",children:e||t&&(0,wt.jsx)(M,{content:t,enableGutter:!1})})});var it=L(require("next/image"));var Do=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:s,width:o}=e;return(0,wt.jsx)(it.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:s||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,wt.jsx)("div",{children:(0,wt.jsx)(it.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},vr=({links:e,media:t,children:r,richText:a})=>(0,wt.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,wt.jsx)(Do,{media:t}),(0,wt.jsx)("div",{className:"mx-0 min-wt-full relative z-9",children:(0,wt.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,wt.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-wt:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var ct=L(require("next/image"));var wr=({title:e,image:t})=>(0,wt.jsx)("div",{children:(0,wt.jsxs)("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[(0,wt.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:(0,wt.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,wt.jsxs)("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[t&&typeof t=="object"&&(0,wt.jsx)(ct.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,wt.jsx)("div",{children:(0,wt.jsx)(ct.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,wt.jsx)("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),(0,wt.jsx)(Te,{className:"text-black z-10",position:"header"})]})});var Ho={highImpact:xr,lowImpact:yr,mediumImpact:vr,sectionHero:wr},Cr=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let r=Ho[t];return r?(0,wt.jsx)(r,{...e}):null};var Ar=L(require("next/image"));var Je=e=>{var l;let{columns:t,theme:r}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"},s={none:"",line:"border border-primary wt-4 rounded-lg"},o=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let d of c.root.children)if(o(d))return!0}if(c.children){for(let d of c.children)if(o(d))return!0}return!1},n=(c,d,m)=>{if(d==="none"||m==="full")return{processedRichText:c,heading:null};let f=c,g=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(f={...c,root:{...c.root,children:c.root.children.slice(1)}},g=c.root.children[0]),{processedRichText:f,heading:g}};return(0,wt.jsx)("div",{className:"container my-6",children:(0,wt.jsx)("div",{className:i("grid grid-cols-4 lg:grid-cols-12 gap-wt-8",(l=r==null?void 0:r.settings)!=null&&l.box?"gap-wt-8":"gap-wt-16"),children:t&&t.length>0&&t.map((c,d)=>{var k,C;let{enableLink:m,link:f,richText:g,size:h}=c,{processedRichText:b,heading:v}=n(g,((k=r==null?void 0:r.settings)==null?void 0:k.box)||"none",h||"full");return(0,wt.jsxs)("div",{className:i(`col-span-4 lg:col-span-${a[h]}`,{"md:col-span-2":h!=="full"},s[h!=="full"&&!o(g)&&((C=r==null?void 0:r.settings)==null?void 0:C.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${d+1}00`),children:[v&&(0,wt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:v.children[0].text}),b&&(0,wt.jsx)(M,{content:b,enableGutter:!1,className:"rich-text"}),m&&(0,wt.jsx)($,{...f})]},d)})})})};var Pr=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,wt.jsx)(Eo,{blocks:r.layout}):(0,wt.jsx)(wt.Fragment,{})},Nr={content:Je,cta:ue,mediaBlock:Q,imageBlock:Q,features:fe},Eo=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,wt.jsx)(wt.Fragment,{children:t.map((a,s)=>{var l,c;let{blockType:o}=a,n=a==null?void 0:a.theme;if(o&&o in Nr){let d=Nr[o];if(d)return(0,wt.jsxs)("div",{className:"py-6 relative",children:[(0,wt.jsx)(dt,{block:a,index:s}),(0,wt.jsx)("div",{className:i(((l=n==null?void 0:n.settings)==null?void 0:l.theme)==="dark"?"dark":((c=n==null?void 0:n.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,wt.jsx)(d,{...a})})]},s)}return null})}):null};var Br=L(require("react")),ge=L(require("@radix-ui/react-collapsible")),Ye=require("@radix-ui/react-icons");var Ir=({title:e,richText:t})=>{let[r,a]=Br.default.useState(!1);return(0,wt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,wt.jsxs)(ge.Root,{className:i("wt-full"),open:r,onOpenChange:a,children:[(0,wt.jsxs)(ge.Trigger,{className:"flex wt-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,wt.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,wt.jsx)(Ye.ChevronUpIcon,{className:"h-6 wt-6"}):(0,wt.jsx)(Ye.ChevronDownIcon,{className:"h-6 wt-6"})]}),(0,wt.jsx)(ge.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,wt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,wt.jsx)(M,{content:t||{},enableGutter:!1})})})]})})};var Tr={content:Je,cta:ue,mediaBlock:Q,collapsibleArea:Ir,imageBlock:Q,features:fe,reusableContentBlock:Pr},mt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,wt.jsx)("section",{id:"render-blocks",className:i(e.fill?"h-full wt-full":""),children:t.map((a,s)=>{var l;console.log("block",a);let{blockType:o}=a,n=a==null?void 0:a.theme;if(o&&o in Tr){let c=Tr[o];if(o==="reusableContentBlock")return(0,wt.jsx)(ce.Fragment,{children:(0,wt.jsx)(mt,{blocks:a.reusableContent.layout})},s);if(c)return(0,wt.jsxs)("div",{className:i("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,wt.jsx)(dt,{block:a,index:s}),(0,wt.jsx)("div",{className:i("container h-full relative",((l=n==null?void 0:n.settings)==null?void 0:l.theme)||"dark"),children:(0,wt.jsx)(c,{...a})})]},s)}return null})}):null},dt=e=>{var r,a,s,o,n;if(!("theme"in e.block))return(0,wt.jsx)("div",{className:i("absolute inset-0 wt-screen h-full dark bg-background")});let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let l={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,wt.jsxs)("div",{className:i("absolute inset-0 wt-full h-full bg-background",t.settings.theme||"dark"),children:[(0,wt.jsx)(Ar.default,{src:((s=(a=t.settings)==null?void 0:a.image)==null?void 0:s.url)||"/placeholder.svg",alt:((n=(o=t.settings)==null?void 0:o.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,wt.jsx)("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,wt.jsx)("div",{className:i("absolute inset-0 wt-screen h-full bg-background",t.settings.theme||"dark")})};var Sr="../cortex-reply-light-27IMI3G7.png";var Mr="../cortex-reply-dark-XPAJJJYY.png";var pt=L(require("next/link"));var Lr=require("next/navigation"),Dr=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:s="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[n,l]=(0,ce.useState)(!1),c=()=>{l(!n)};return(0,ce.useEffect)(()=>{let d=window.location.hash;if(d){let m=d.substring(1),f=document.getElementById(m);if(f){let h=f.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:h,behavior:"smooth"})}}},[window.location.hash]),(0,wt.jsxs)("div",{children:[(0,wt.jsx)("div",{className:i(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,wt.jsx)(Uo,{pageId:t,tableOfContents:r,edit:a,path:s,relatedContent:o,isSidebarVisible:n}),(0,wt.jsx)("div",{className:"block md:hidden mt-8",children:(0,wt.jsx)("div",{className:"space-wt-6",children:e})})]})};var Uo=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[n,l]=(0,ce.useState)(""),[c,d]=(0,ce.useState)(!1),[m,f]=(0,ce.useState)(!1),g=(0,Lr.usePathname)(),h=()=>{d(!c),f(!1)},b=()=>{f(!m),d(!1)},v=N=>{switch(N){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=()=>{let N=g.split("/"),z="/print"+g,A=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");A&&A.focus()},C=()=>{let N=g.split("/"),z="/present"+g,A=window.open(z,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");A&&A.focus()};return(0,wt.jsx)("div",{className:i("fixed right-2 z-20 top-1/4 space-wt-6 transform transition-transform duration-300 translate-wt-full",o?"translate-wt-0":"md:translate-wt-0"),children:(0,wt.jsxs)("div",{className:"flex flex-row-reverse z-20 min-wt-64 gap-4",children:[(0,wt.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card wt-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-wt-[54px] flex-col rounded-lg border",children:[(0,wt.jsxs)(pt.default,{href:`${a}${e}`,className:"flex aspect-square min-h-[25px] wt-12 flex-col items-center justify-center gap-1 rounded-md wt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,wt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,wt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,wt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,wt.jsxs)("a",{onClick:h,className:"flex aspect-square min-h-[25px] wt-12 flex-col items-center justify-center gap-1 rounded-md wt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,wt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,wt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,wt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,wt.jsxs)("a",{onClick:b,className:"flex aspect-square min-h-[25px] wt-12 flex-col items-center justify-center gap-1 rounded-md wt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,wt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,wt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,wt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,wt.jsx)("hr",{className:"dark:border-gray-400"}),(0,wt.jsxs)("a",{onClick:C,className:"flex aspect-square min-h-[25px] wt-12 flex-col items-center justify-center gap-1 rounded-md wt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,wt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,wt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,wt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,wt.jsxs)("a",{onClick:k,className:"flex aspect-square min-h-[25px] wt-12 flex-col items-center justify-center gap-1 rounded-md wt-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,wt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,wt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,wt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,wt.jsx)("div",{className:i("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 wt-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-wt-[54px] flex-col rounded-lg border"),children:(0,wt.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-wt-64",children:[(0,wt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,wt.jsx)("ul",{className:"flex flex-col space-wt-2",children:t.map((N,z)=>(0,wt.jsx)("li",{className:v(N.tag),children:(0,wt.jsx)("a",{href:`#${N.id}`,className:`text-xs ${n===N.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:N.text})},z))})]})}),m&&s&&s.length>0&&(0,wt.jsx)("div",{className:i("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 wt-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-wt-[54px] flex-col rounded-lg border"),children:(0,wt.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-wt-64",children:[(0,wt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,wt.jsx)("ul",{className:"flex flex-col space-wt-2",children:s.map((N,z)=>N.links&&N.links.length>0?N.links.map((A,ne)=>(0,wt.jsxs)(pt.default,{href:A.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[A.title,A.url.startsWith("http")&&(0,wt.jsx)(Re.ExternalLink,{className:"ml-1 h-3 wt-3"})]},ne)):null)})]})})]})})};var Hr=require("tailwindcss-intersect");function Gr({...e}){let t=e.page,{contentWithIds:r,tableOfContents:a}=St(t);return(0,ce.useEffect)(()=>{Hr.Observer.start()},[]),(0,wt.jsxs)("div",{className:"flex fixed flex-col wt-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,wt.jsx)(Jt,{isMenuOpen:!0,logoLight:Sr,logoDark:Mr}),(0,wt.jsx)(Cr,{...e.hero}),(0,wt.jsx)(Dr,{edit:e.edit,pageId:e.page.id,tableOfContents:a,relatedContent:e.relatedContent,children:(0,wt.jsx)(mt,{blocks:r})})]})}
|
package/dist/pages/Website.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-OPV35HTE.mjs";import"../chunk-L4FTRAKV.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-RXNOA32M.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-SEYRH7IM.mjs";import"../chunk-65KHY3N2.mjs";import"../chunk-ZWII7FHR.mjs";import"../chunk-P5QTMPTP.mjs";import"../chunk-2PGNGIFG.mjs";import"../chunk-Z7GQVIJO.mjs";import"../chunk-PDUZAE2B.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-GHWZZAOE.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-266LJXBZ.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|