cortex-react-components 1.37.0 → 1.38.1
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-3JEYEQT7.mjs +1 -0
- package/dist/{chunk-RDKQKUIV.mjs → chunk-3KUNT22C.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-4VDJWCUB.mjs} +1 -1
- package/dist/{chunk-L2PQKIU4.mjs → chunk-7ZHB6VE4.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-AFA6LBJ4.mjs} +1 -1
- package/dist/{chunk-TST7OX5V.mjs → chunk-MGZMAVEP.mjs} +1 -1
- package/dist/{chunk-SSTNPMOH.mjs → chunk-P6LNQPEM.mjs} +1 -1
- package/dist/{chunk-IMAQJ7N3.mjs → chunk-QL74DMZ3.mjs} +1 -1
- package/dist/{chunk-S7AYXJKR.mjs → chunk-UPEI7J4F.mjs} +1 -1
- package/dist/chunk-WEL5CUI3.mjs +4 -0
- package/dist/chunk-Y2M3NDFG.mjs +4 -0
- package/dist/{chunk-VDSYKQJA.mjs → chunk-YCOPE2XU.mjs} +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/{VerticalSlider.d.ts → SlideShow.d.ts} +1 -1
- package/dist/components/Layouts/SlideShow.js +4 -0
- package/dist/components/Layouts/{VerticalSlider.mjs → SlideShow.mjs} +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -0
- package/dist/components/Layouts/{VerticalSlider.stories.mjs → SlideShow.stories.mjs} +1 -1
- package/dist/components/Layouts/index.d.ts +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/RelatedContent.js +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.js +1 -1
- package/dist/components/Menus/RelatedContent.stories.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.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2ZUC2LKN.mjs +0 -4
- package/dist/chunk-3733OXCB.mjs +0 -4
- package/dist/chunk-S23SZBHP.mjs +0 -1
- package/dist/components/Layouts/VerticalSlider.js +0 -4
- package/dist/components/Layouts/VerticalSlider.stories.js +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-Y2M3NDFG.mjs";import{a as e}from"./chunk-6K2R3OAD.mjs";import{jsx as t}from"react/jsx-runtime";function a({...r}){let n=r.page,{contentWithIds:i,tableOfContents:s}=e(n);return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:t(o,{blocks:i})})}export{a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as u}from"./chunk-TAAX3A4F.mjs";import{a as
|
|
4
|
+
import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as u}from"./chunk-TAAX3A4F.mjs";import{a as p}from"./chunk-4N3XLFAD.mjs";import{a as l}from"./chunk-B5MYCLC4.mjs";import{a as c}from"./chunk-CWNEDSLD.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-GHBJK554.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:f,logoDark:h,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-
|
|
4
|
+
import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-AFA6LBJ4.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-
|
|
4
|
+
import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-QL74DMZ3.mjs";import{a as p}from"./chunk-4VDJWCUB.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-AFA6LBJ4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-GHBJK554.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:h,logoDark:g,...a.header,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
|
|
4
|
+
import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,b as a,c as n,e as o}from"./chunk-D76EO57Z.mjs";import d from"next/link";import{ExternalLink as C}from"lucide-react";import{jsx as t,jsxs as l}from"react/jsx-runtime";var x=({links:i,title:s="Related Content"})=>l(r,{children:[t(a,{children:t(n,{className:"text-accent",children:s})}),t(o,{children:t("nav",{className:"flex flex-col space-y-2",children:i.map((e,m)=>l(d,{href:e.url,className:"inline-flex items-center text-sm text-primary hover:
|
|
1
|
+
import{a as r,b as a,c as n,e as o}from"./chunk-D76EO57Z.mjs";import d from"next/link";import{ExternalLink as C}from"lucide-react";import{jsx as t,jsxs as l}from"react/jsx-runtime";var x=({links:i,title:s="Related Content"})=>l(r,{children:[t(a,{children:t(n,{className:"text-accent",children:s})}),t(o,{children:t("nav",{className:"flex flex-col space-y-2",children:i.map((e,m)=>l(d,{href:e.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[e.title,e.url.startsWith("http")&&t(C,{className:"ml-1 h-3 w-3"})]},m))})})]});export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-WEL5CUI3.mjs";import{b as r}from"./chunk-UPEI7J4F.mjs";import{a as n}from"./chunk-JHLO57EI.mjs";import{a as i}from"./chunk-GHBJK554.mjs";import{a as o}from"./chunk-6K2R3OAD.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function g({...e}){let s=e.page,{contentWithIds:c,tableOfContents:m}=o(s);return p("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(i,{isMenuOpen:!0,logoLight:l,logoDark:f}),t(r,{...e.hero}),t(a,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-
|
|
4
|
+
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-AFA6LBJ4.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-TAAX3A4F.mjs";import{a as
|
|
1
|
+
import{a as l}from"./chunk-TAAX3A4F.mjs";import{a as c}from"./chunk-4N3XLFAD.mjs";import{a as s}from"./chunk-B5MYCLC4.mjs";import{a as i}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as n}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function d({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:n("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:n("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:n("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as f}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return f("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(i,{children:f("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"underline underline-offset-8 decoration-1 decoration-accent font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(d,{breadcrumbItems:r})]})})]})}export{m as a,k as b,d as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as v}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-GLEWUUGS.mjs";import{a as m,b as u,c as f,e as p}from"./chunk-D76EO57Z.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as O}from"react";import w from"next/link";import{Printer as S,Presentation as H}from"lucide-react";import{useRouter as $}from"next/router";import{jsx as t,jsxs as n}from"react/jsx-runtime";var J=({children:g,pageId:N,tableOfContents:h=[],edit:b=!0,path:k="/admin/collections/pages/",relatedContent:c={title:"Related Content",links:[]}})=>{let[d,y]=C(!1),[P,T]=C(""),r=$(),E=()=>{y(!d)},R=e=>{switch(e){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},M=(e,o)=>{e.preventDefault();let a=document.getElementById(o);if(a){let l=a.offsetTop+-100,x=document.querySelector(".container")||window;x===window?window.scrollTo({top:l,behavior:"smooth"}):x.scrollTo({top:l,behavior:"smooth"}),T(o)}else console.error(`Element with ID "${o}" not found.`)},I=()=>{let e=r.asPath.replace("/slug","/print/slug");r.push(e)},L=()=>{let e=r.asPath.replace("/slug","/present/slug");r.push(e)};return O(()=>{let e=window.location.hash;if(e){let o=e.substring(1),a=document.getElementById(o);if(a){let l=a.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:l,behavior:"smooth"})}}},[]),n("div",{className:"container py-8",children:[n("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[t("div",{className:i(d?"col-span-2":"col-span-3","xl:col-span-3"),children:g}),n("div",{className:i("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-x-0 xl:-mt-20",d?"translate-x-0":"md:translate-x-full","xl:block xl:col-span-1 xl:translate-x-0"),children:[b&&n(m,{children:[t(u,{children:t(f,{className:"text-accent",children:"Content Actions"})}),n(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),t(w,{href:`${k}${N}`,children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),t(w,{href:"/admin/collections/pages/create",children:t(s,{variant:"outline",className:"w-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),n("div",{className:"flex space-x-2 mt-4",children:[n(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:I,children:[t(S,{className:"mr-2"})," Print"]}),n(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:L,children:[t(H,{className:"mr-2"})," Present"]})]})]})]}),h.length>3&&n(m,{className:"w-full max-w-sm mt-4",children:[t(u,{children:t(f,{className:"text-accent",children:"On this page"})}),t(p,{children:t("ul",{className:"space-y-2",children:h.map((e,o)=>t("li",{className:R(e.tag),children:t("a",{href:`#${e.id}`,className:`text-xs ${P===e.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:e.text})},o))})})]}),c&&c.links.length>0&&t(v,{...c})]}),t("button",{onClick:E,className:i("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),t("div",{className:"block md:hidden mt-8",children:t("div",{className:"space-y-6",children:g})})]})};export{J as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as p}from"./chunk-JHLO57EI.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as x,useEffect as k,useCallback as N}from"react";import{Printer as P,CircleX as C}from"lucide-react";import{AnimatePresence as E,motion as y}from"framer-motion";import{useRouter as S}from"next/router";import{jsx as t,jsxs as A}from"react/jsx-runtime";var K=b=>{let[s,r]=x(0),c=S(),{blocks:o}=b,f=o&&Array.isArray(o)&&o.length>0,h=e=>{console.log("sectionId",e),console.log("block",o[e]),r(e)},i=()=>{r(e=>(e+1)%o.length)},u=()=>{r(e=>(e-1+o.length)%o.length)},d=N(((e,n)=>{let a;return(...g)=>{clearTimeout(a),a=setTimeout(()=>e(...g),n)}})(e=>{e.deltaY>0?i():u()},300),[]),m=e=>{e.key==="ArrowDown"?i():e.key==="ArrowUp"&&u()},v=()=>{let n=c.asPath.replace("/present/","/print/"),a=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");a&&a.focus()},w=()=>{c.back()};return k(()=>(window.addEventListener("wheel",d),window.addEventListener("keydown",m),()=>{window.removeEventListener("wheel",d),window.removeEventListener("keydown",m)}),[]),A("div",{className:"flex h-screen relative",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:f&&o.map((e,n)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===n?"bg-accent":"bg-gray-300"}`,onClick:()=>h(n),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),o.map((e,n)=>t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${n===s?"opacity-100":"opacity-0"}`,children:t(p,{blocks:[e]})},n)),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:t(D,{})}),t("button",{className:"absolute top-14 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:v,children:t(P,{})}),t("button",{className:"absolute top-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:w,children:t(C,{})})]})},D=()=>t(E,{children:t(y.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:t(y.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});export{K as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as d}from"./chunk-
|
|
4
|
+
import{a as d}from"./chunk-4VDJWCUB.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-AFA6LBJ4.mjs";import{a as s}from"./chunk-O5XLZ254.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as f}from"../../chunk-EPTHSTUM.mjs";import{a as d}from"../../chunk-53QLSQCO.mjs";import{a as e}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-ZTAKQMSW.mjs";import"../../chunk-IB72MBM7.mjs";import{a as n}from"../../chunk-JCH2CCQ7.mjs";import{a as o}from"../../chunk-OEM7RQ4Q.mjs";import{a}from"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-6P7CY367.mjs";import{a as p}from"../../chunk-JHLO57EI.mjs";import{a as m}from"../../chunk-OZWMFVUL.mjs";import{a as b}from"../../chunk-H7D3PZKE.mjs";import{a as c}from"../../chunk-IQPZEEYJ.mjs";import{a as g,b as h,c as l}from"../../chunk-6AARBDPJ.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import{a as k}from"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import{a as j}from"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import{a as i}from"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-D2WXBUVJ.mjs";export{g as BannerBlock,h as CallToActionBlock,j as CodeBlock,m as ContentBlock,i as CopyButton,l as FeaturesBlock,n as HeadingImage,o as ImageBlock,b as InfoTile,a as Insight,c as MOTD,k as MediaBlock,d as OrgChart,e as ProposalSummary,q as RelatedPosts,p as RenderBlocks,f as WhyUs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-CWNEDSLD.mjs";import"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-CWNEDSLD.mjs";import"../../../chunk-PRUIYGQW.mjs";import"../../../chunk-H4Y4SZIU.mjs";import"../../../chunk-A5EYIB3V.mjs";import"../../../chunk-HWEPDRG6.mjs";import"../../../chunk-4NKKWJ2X.mjs";import"../../../chunk-4JC2TJML.mjs";import"../../../chunk-7VKHSE4O.mjs";import"../../../chunk-RBZMFLLA.mjs";import"../../../chunk-DWRQHV42.mjs";import"../../../chunk-Y5ZFXDW5.mjs";import"../../../chunk-WRPART4J.mjs";import"../../../chunk-N6EJQZAV.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-AWFQEK7A.mjs";import"../../../chunk-3YZN4MJB.mjs";import"../../../chunk-WNPA7YT3.mjs";import"../../../chunk-AFA6LBJ4.mjs";import"../../../chunk-CGBVZQYY.mjs";import"../../../chunk-BSQVKZCW.mjs";import"../../../chunk-Y5VTKEKS.mjs";import"../../../chunk-QOIH63J3.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-OAOCXXC2.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-GLEWUUGS.mjs";import"../../../chunk-YNNW2C2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-6K2R3OAD.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-D2WXBUVJ.mjs";export{a as PostHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b}from"../../chunk-
|
|
1
|
+
import{b as a,c as b}from"../../chunk-UPEI7J4F.mjs";import"../../chunk-TAAX3A4F.mjs";import"../../chunk-4N3XLFAD.mjs";import"../../chunk-B5MYCLC4.mjs";import"../../chunk-6AARBDPJ.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-D2WXBUVJ.mjs";export{b as Breadcrumbs,a as RenderHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-UPEI7J4F.mjs";import"../../../chunk-TAAX3A4F.mjs";import"../../../chunk-4N3XLFAD.mjs";import"../../../chunk-B5MYCLC4.mjs";import"../../../chunk-6AARBDPJ.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-NWW7KWJK.mjs";import"../../../chunk-ODLDYXPZ.mjs";import"../../../chunk-QRNJ7O2L.mjs";import"../../../chunk-7WBETZEV.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-763KMQIQ.mjs";import"../../../chunk-J2VQUYES.mjs";import"../../../chunk-SJWGFZJ6.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-GLEWUUGS.mjs";import"../../../chunk-UESKYRNK.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-6K2R3OAD.mjs";import"../../../chunk-D2WXBUVJ.mjs";export{a as SectionHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as f,c as g}from"../../chunk-
|
|
1
|
+
import{a as e,b as f,c as g}from"../../chunk-UPEI7J4F.mjs";import{a as c}from"../../chunk-TAAX3A4F.mjs";import{a as b}from"../../chunk-4N3XLFAD.mjs";import{a}from"../../chunk-B5MYCLC4.mjs";import{a as d}from"../../chunk-CWNEDSLD.mjs";import"../../chunk-PRUIYGQW.mjs";import"../../chunk-H4Y4SZIU.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-HWEPDRG6.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-7VKHSE4O.mjs";import"../../chunk-RBZMFLLA.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-WRPART4J.mjs";import"../../chunk-N6EJQZAV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-6AARBDPJ.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-AFA6LBJ4.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-D2WXBUVJ.mjs";export{g as Breadcrumbs,a as HighImpactHero,c as LowImpactHero,b as MediumImpactHero,d as PostHero,f as RenderHero,e as SectionHero};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";"use client";var at=Object.create;var q=Object.defineProperty;var lt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var ct=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty;var pt=(t,e)=>{for(var r in e)q(t,r,{get:e[r],enumerable:!0})},Te=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of it(e))!dt.call(t,n)&&n!==r&&q(t,n,{get:()=>e[n],enumerable:!(s=lt(e,n))||s.enumerable});return t};var Z=(t,e,r)=>(r=t!=null?at(ct(t)):{},Te(e||!t||!t.__esModule?q(r,"default",{value:t,enumerable:!0}):r,t)),ut=t=>Te(q({},"__esModule",{value:!0}),t);var Wt={};pt(Wt,{SlideShow:()=>Kt});module.exports=ut(Wt);var H=require("react");var Ue=require("clsx");var be="-",mt=t=>{let e=ft(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:l=>{let a=l.split(be);return a[0]===""&&a.length!==1&&a.shift(),Ie(a,e)||gt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&s[l]?[...c,...s[l]]:c}}},Ie=(t,e)=>{var l;if(t.length===0)return e.classGroupId;let r=t[0],s=e.nextPart.get(r),n=s?Ie(t.slice(1),s):void 0;if(n)return n;if(e.validators.length===0)return;let o=t.join(be);return(l=e.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Se=/^\[(.+)\]$/,gt=t=>{if(Se.test(t)){let e=Se.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},ft=t=>{let{theme:e,prefix:r}=t,s={nextPart:new Map,validators:[]};return yt(Object.entries(t.classGroups),r).forEach(([o,l])=>{fe(l,s,o,e)}),s},fe=(t,e,r,s)=>{t.forEach(n=>{if(typeof n=="string"){let o=n===""?e:Me(e,n);o.classGroupId=r;return}if(typeof n=="function"){if(bt(n)){fe(n(s),e,r,s);return}e.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,l])=>{fe(l,Me(e,o),r,s)})})},Me=(t,e)=>{let r=t;return e.split(be).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},bt=t=>t.isThemeGetter,yt=(t,e)=>e?t.map(([r,s])=>{let n=s.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[e+l,a])):o);return[r,n]}):t,ht=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,s=new Map,n=(o,l)=>{r.set(o,l),e++,e>t&&(e=0,s=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=s.get(o))!==void 0)return n(o,l),l},set(o,l){r.has(o)?r.set(o,l):n(o,l)}}},ze="!",wt=t=>{let{separator:e,experimentalParseClassName:r}=t,s=e.length===1,n=e[0],o=e.length,l=a=>{let c=[],y=0,g=0,v;for(let u=0;u<a.length;u++){let x=a[u];if(y===0){if(x===n&&(s||a.slice(u,u+o)===e)){c.push(a.slice(g,u)),g=u+o;continue}if(x==="/"){v=u;continue}}x==="["?y++:x==="]"&&y--}let w=c.length===0?a:a.substring(g),C=w.startsWith(ze),d=C?w.substring(1):w,p=v&&v>g?v-g:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:d,maybePostfixModifierPosition:p}};return r?a=>r({className:a,parseClassName:l}):l},xt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(s=>{s[0]==="["?(e.push(...r.sort(),s),r=[]):r.push(s)}),e.push(...r.sort()),e},vt=t=>({cache:ht(t.cacheSize),parseClassName:wt(t),...mt(t)}),kt=/\s+/,At=(t,e)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=e,o=[],l=t.trim().split(kt),a="";for(let c=l.length-1;c>=0;c-=1){let y=l[c],{modifiers:g,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:C}=r(y),d=!!C,p=s(d?w.substring(0,C):w);if(!p){if(!d){a=y+(a.length>0?" "+a:a);continue}if(p=s(w),!p){a=y+(a.length>0?" "+a:a);continue}d=!1}let u=xt(g).join(":"),x=v?u+ze:u,N=x+p;if(o.includes(N))continue;o.push(N);let z=n(p,d);for(let E=0;E<z.length;++E){let Y=z[E];o.push(x+Y)}a=y+(a.length>0?" "+a:a)}return a};function Ct(){let t=0,e,r,s="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Ee(e))&&(s&&(s+=" "),s+=r);return s}var Ee=t=>{if(typeof t=="string")return t;let e,r="";for(let s=0;s<t.length;s++)t[s]&&(e=Ee(t[s]))&&(r&&(r+=" "),r+=e);return r};function Nt(t,...e){let r,s,n,o=l;function l(c){let y=e.reduce((g,v)=>v(g),t());return r=vt(y),s=r.cache.get,n=r.cache.set,o=a,a(c)}function a(c){let y=s(c);if(y)return y;let g=At(c,r);return n(c,g),g}return function(){return o(Ct.apply(null,arguments))}}var f=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pt=/^\d+\/\d+$/,Bt=new Set(["px","full","screen"]),Rt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,St=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)$-?((\d+)?\.?(\d+)[a-z]+|0)/,It=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>G(t)||Bt.has(t)||Pt.test(t),S=t=>U(t,"length",Ht),G=t=>!!t&&!Number.isNaN(Number(t)),ge=t=>U(t,"number",G),O=t=>!!t&&Number.isInteger(Number(t)),zt=t=>t.endsWith("%")&&G(t.slice(0,-1)),i=t=>Fe.test(t),M=t=>Rt.test(t),Et=new Set(["length","size","percentage"]),Ft=t=>U(t,Et,Le),Lt=t=>U(t,"position",Le),Gt=new Set(["image","url"]),Ut=t=>U(t,Gt,Ot),Dt=t=>U(t,"",Vt),Q=()=>!0,U=(t,e,r)=>{let s=Fe.exec(t);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):r(s[2]):!1},Ht=t=>Tt.test(t)&&!St.test(t),Le=()=>!1,Vt=t=>Mt.test(t),Ot=t=>It.test(t);var Qt=()=>{let t=f("colors"),e=f("spacing"),r=f("blur"),s=f("brightness"),n=f("borderColor"),o=f("borderRadius"),l=f("borderSpacing"),a=f("borderWidth"),c=f("contrast"),y=f("grayscale"),g=f("hueRotate"),v=f("invert"),w=f("gap"),C=f("gradientColorStops"),d=f("gradientColorStopPositions"),p=f("inset"),u=f("margin"),x=f("opacity"),N=f("padding"),z=f("saturate"),E=f("scale"),Y=f("sepia"),ke=f("skew"),Ae=f("space"),Ce=f("translate"),de=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",i,e],h=()=>[i,e],Ne=()=>["",B,S],W=()=>["auto",G,i],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",i],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[t],borderRadius:["none","","full",M,i],borderSpacing:h(),borderWidth:Ne(),contrast:P(),grayscale:V(),hueRotate:P(),invert:V(),gap:h(),gradientColorStops:[t],gradientColorStopPositions:[zt,S],inset:ue(),margin:ue(),opacity:P(),padding:h(),saturate:P(),scale:P(),sepia:V(),skew:P(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Pe(),i]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-y":[{"overflow-y":pe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",O,i]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",O,i]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",O,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[O,i]},i]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],$:[{$:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[Ae]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ae]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ge]}],"font-family":[{font:[Q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),Lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ft]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ut]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:X()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",M,Dt]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[z]}],sepia:[{sepia:[Y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[O,i]}],"translate-x":[{"translate-x":[Ce]}],"translate-y":[{"translate-y":[Ce]}],"skew-x":[{"skew-x":[ke]}],"skew-y":[{"skew-y":[ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","$-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-$":[{"scroll-$":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[B,S,ge]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],$:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-$":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ge=Nt(Qt);function b(...t){return Ge((0,Ue.clsx)(t))}var $=require("react/jsx-runtime"),De=({className:t,content:e,style:r})=>(0,$.jsx)("div",{className:b("mx-auto my-8 w-full",t),children:(0,$.jsx)("div",{className:b("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,$.jsx)(R,{content:e,enableGutter:!1,enableProse:!1})})});var He=require("@radix-ui/react-slot"),Ve=require("class-variance-authority"),Oe=Z(require("react")),jt=(0,Ve.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),j=Oe.forwardRef(({asChild:t=!1,className:e,size:r,variant:s,...n},o)=>(0,$.jsx)(t?He.Slot:"button",{className:b(jt({className:e,size:r,variant:s})),ref:o,...n}));j.displayName="Button";var ye=Z(require("next/link")),D=t=>{let{type:e,appearance:r="inline",children:s,className:n,label:o,newTab:l,reference:a,size:c,url:y}=t,g=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:y;if(!g)return null;let v=r==="link"?"clear":c,w=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(ye.default,{className:b(n),href:g||y||"",...w,children:[o&&o,s&&s]}):(0,$.jsx)(j,{asChild:!0,className:n,size:v,variant:r,children:(0,$.jsxs)(ye.default,{className:b(n),href:g||y||"",...w,children:[o&&o,s&&s]})})};var ee=({links:t,richText:e})=>(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,$.jsx)(R,{className:"mb-0",content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},s)=>(0,$.jsx)(D,{size:"lg",...r},s))})]})});var te=require("prism-react-renderer");var je=require("lucide-react");function Je({code:t}){let[e,r]=(0,H.useState)("Copy");function s(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,$.jsx)("p",{children:e}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(je.ClipboardCopy,{})})]})})}var Ke=({code:t,language:e=""})=>t?(0,$.jsx)(te.Highlight,{code:t,language:e,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:n})=>(0,$.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,l)=>(0,$.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,$.jsx)("span",{...s({token:a})},c))})]},l)),(0,$.jsx)(Je,{code:t})]})}):null;var Ye=({className:t,code:e,language:r})=>(0,$.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(Ke,{code:e,language:r})});var Xe=Z(require("next/image"));var We=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(We){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var _t={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Jt="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=",qe=t=>{let{alt:e,fill:r,imgClassName:s,priority:n,resource:o,size:l,src:a,loading:c}=t,y,g,v=e,w=a||"";if(!w&&o&&typeof o=="object"){let{alt:p,filename:u,height:x,url:N,width:z}=o;y=z,g=x,v=p||"",w=`${re()}${N}`}let C=c||"lazy",d=l||Object.entries(_t).map(([,p])=>`(max-width: ${p}px) ${p*2}w`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(Xe.default,{alt:v||"",className:b(s),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Jt,priority:C!=="lazy"&&n,quality:100,loading:C,sizes:d,src:w,width:r?void 0:y})})};var Ze=t=>{let{onClick:e,resource:r,videoClassName:s}=t,n=(0,H.useRef)(null);if((0,H.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$.jsx)("video",{autoPlay:!0,className:b(s),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:n,children:(0,$.jsx)("source",{src:`${re()}/media/${o}`})})}return null};var et=t=>{var l;let{className:e,htmlElement:r="div",resource:s}=t,n=typeof s=="object"&&((l=s==null?void 0:s.mimeType)==null?void 0:l.includes("video"));return(0,$.jsx)(r||$e.Fragment,{...r!==null?{className:e}:{},children:n?(0,$.jsx)(Ze,{...t}):(0,$.jsx)(qe,{...t})})};var J=t=>{let{className:e,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=t;return(0,$.jsx)("div",{className:b("",{container:r},e),children:(0,$.jsx)(et,{imgClassName:b("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var se=({title:t,description:e,features:r,id:s})=>(0,$.jsxs)("section",{className:b("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:s||"",children:t}),e&&typeof e=="string"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,$.jsx)(R,{content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let l=(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,$.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,$.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,$.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",children:(0,$.jsx)(R,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,$.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:l},o):l})})]});var le=Z(require("react"));function ae({nodes:t}){return(0,$.jsx)(le.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,$.jsx)(le.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,$.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,$.jsx)("em",{children:o},r)),e.format&4&&(o=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,$.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,$.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,$.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:e.children.map((o,l)=>(0,$.jsx)("tr",{children:o.children.map((a,c)=>(0,$.jsx)("td",{children:ae({nodes:a.children})},c))},l))})},r);let s=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return ae({nodes:o.children})},n="children"in e?s(e):"";if(e.type==="block"){let o=e.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,$.jsx)(ee,{...o},r);case"mediaBlock":return(0,$.jsx)(J,{className:"col-start-1 col-span-3",imgClassName:"$-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,$.jsx)(De,{className:"col-start-2 mb-4",...o},r);case"code":return(0,$.jsx)(Ye,{className:"col-start-2",...o},r);case"features":return(0,$.jsx)(se,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,$.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:n},r)}case"list":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,$.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:n},r):(0,$.jsx)("li",{value:e==null?void 0:e.value,children:n},r);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=e.fields;return(0,$.jsx)(D,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var R=({className:t,content:e,enableGutter:r=!0,enableProse:s=!0})=>{var n;return e?(0,$.jsx)("div",{className:b({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":s},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&ae({nodes:(n=e==null?void 0:e.root)==null?void 0:n.children})}):null};var rt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:e&&e.length>0&&e.map((s,n)=>{let{enableLink:o,link:l,richText:a,size:c}=s;return(0,$.jsxs)("div",{className:b(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,$.jsx)(R,{content:a,enableGutter:!1}),o&&(0,$.jsx)(D,{...l})]},n)})})})};var ot={content:rt,cta:ee,mediaBlock:J,imageBlock:J,features:se},nt=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,$.jsx)("section",{id:"render-blocks",children:e.map((s,n)=>{let{blockType:o}=s;if(o&&o in ot){let l=ot[o];if(l)return(0,$.jsx)("div",{className:"my-6",children:(0,$.jsx)(l,{...s})},n)}return null})}):null};var K=require("framer-motion");var st=require("next/router"),Kt=t=>{let[e,r]=(0,H.useState)(0),s=(0,st.useRouter)(),{blocks:n}=t,o=n&&Array.isArray(n)&&n.length>0,l=d=>{console.log("sectionId",d),console.log("block",n[d]),r(d)},a=()=>{r(d=>(d+1)%n.length)},c=()=>{r(d=>(d-1+n.length)%n.length)},g=(0,H.useCallback)(((d,p)=>{let u;return(...x)=>{clearTimeout(u),u=setTimeout(()=>d(...x),p)}})(d=>{d.deltaY>0?a():c()},300),[]),v=d=>{d.key==="ArrowDown"?a():d.key==="ArrowUp"&&c()},w=()=>{let p=s.asPath.replace("/present/","/print/"),u=window.open(p,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");u&&u.focus()},C=()=>{s.back()};return(0,H.useEffect)(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",v),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",v)}),[]),(0,$.jsxs)("div",{className:"flex h-screen relative",children:[(0,$.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:o&&n.map((d,p)=>(0,$.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===p?"bg-accent":"bg-gray-300"}`,onClick:()=>l(p),children:(0,$.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:d.blockName})},d.id))}),n.map((d,p)=>(0,$.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${p===e?"opacity-100":"opacity-0"}`,children:(0,$.jsx)(nt,{blocks:[d]})},p)),(0,$.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:a,children:(0,$.jsx)(Yt,{})}),(0,$.jsx)("button",{className:"absolute top-14 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:w,children:(0,$.jsx)(je.Printer,{})}),(0,$.jsx)("button",{className:"absolute top-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:C,children:(0,$.jsx)(je.CircleX,{})})]})},Yt=()=>(0,$.jsx)(K.AnimatePresence,{children:(0,$.jsx)(K.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:b("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:(0,$.jsx)(K.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:b("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});0&&(module.exports={SlideShow});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-Y2M3NDFG.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-ZTAKQMSW.mjs";import"../../chunk-IB72MBM7.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-OEM7RQ4Q.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-JHLO57EI.mjs";import"../../chunk-OZWMFVUL.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-6AARBDPJ.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as SlideShow};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";"use client";var lt=Object.create;var q=Object.defineProperty;var it=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var ut=(t,e)=>{for(var o in e)q(t,o,{get:e[o],enumerable:!0})},Se=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ct(e))!pt.call(t,n)&&n!==o&&q(t,n,{get:()=>e[n],enumerable:!(s=it(e,n))||s.enumerable});return t};var Z=(t,e,o)=>(o=t!=null?lt(dt(t)):{},Se(e||!t||!t.__esModule?q(o,"default",{value:t,enumerable:!0}):o,t)),mt=t=>Se(q({},"__esModule",{value:!0}),t);var Zt={};ut(Zt,{Primary:()=>qt,default:()=>Xt});module.exports=mt(Zt);var H=require("react");var Ue=require("clsx");var be="-",gt=t=>{let e=bt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:l=>{let a=l.split(be);return a[0]===""&&a.length!==1&&a.shift(),Ie(a,e)||ft(l)},getConflictingClassGroupIds:(l,a)=>{let c=o[l]||[];return a&&s[l]?[...c,...s[l]]:c}}},Ie=(t,e)=>{var l;if(t.length===0)return e.classGroupId;let o=t[0],s=e.nextPart.get(o),n=s?Ie(t.slice(1),s):void 0;if(n)return n;if(e.validators.length===0)return;let r=t.join(be);return(l=e.validators.find(({validator:a})=>a(r)))==null?void 0:l.classGroupId},Te=/^\[(.+)\]$/,ft=t=>{if(Te.test(t)){let e=Te.exec(t)[1],o=e==null?void 0:e.substring(0,e.indexOf(":"));if(o)return"arbitrary.."+o}},bt=t=>{let{theme:e,prefix:o}=t,s={nextPart:new Map,validators:[]};return ht(Object.entries(t.classGroups),o).forEach(([r,l])=>{fe(l,s,r,e)}),s},fe=(t,e,o,s)=>{t.forEach(n=>{if(typeof n=="string"){let r=n===""?e:Me(e,n);r.classGroupId=o;return}if(typeof n=="function"){if(yt(n)){fe(n(s),e,o,s);return}e.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,l])=>{fe(l,Me(e,r),o,s)})})},Me=(t,e)=>{let o=t;return e.split(be).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},yt=t=>t.isThemeGetter,ht=(t,e)=>e?t.map(([o,s])=>{let n=s.map(r=>typeof r=="string"?e+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([l,a])=>[e+l,a])):r);return[o,n]}):t,wt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=new Map,s=new Map,n=(r,l)=>{o.set(r,l),e++,e>t&&(e=0,s=o,o=new Map)};return{get(r){let l=o.get(r);if(l!==void 0)return l;if((l=s.get(r))!==void 0)return n(r,l),l},set(r,l){o.has(r)?o.set(r,l):n(r,l)}}},ze="!",xt=t=>{let{separator:e,experimentalParseClassName:o}=t,s=e.length===1,n=e[0],r=e.length,l=a=>{let c=[],y=0,g=0,v;for(let u=0;u<a.length;u++){let x=a[u];if(y===0){if(x===n&&(s||a.slice(u,u+r)===e)){c.push(a.slice(g,u)),g=u+r;continue}if(x==="/"){v=u;continue}}x==="["?y++:x==="]"&&y--}let w=c.length===0?a:a.substring(g),C=w.startsWith(ze),d=C?w.substring(1):w,p=v&&v>g?v-g:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:d,maybePostfixModifierPosition:p}};return o?a=>o({className:a,parseClassName:l}):l},vt=t=>{if(t.length<=1)return t;let e=[],o=[];return t.forEach(s=>{s[0]==="["?(e.push(...o.sort(),s),o=[]):o.push(s)}),e.push(...o.sort()),e},kt=t=>({cache:wt(t.cacheSize),parseClassName:xt(t),...gt(t)}),At=/\s+/,Ct=(t,e)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=e,r=[],l=t.trim().split(At),a="";for(let c=l.length-1;c>=0;c-=1){let y=l[c],{modifiers:g,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:C}=o(y),d=!!C,p=s(d?w.substring(0,C):w);if(!p){if(!d){a=y+(a.length>0?" "+a:a);continue}if(p=s(w),!p){a=y+(a.length>0?" "+a:a);continue}d=!1}let u=vt(g).join(":"),x=v?u+ze:u,N=x+p;if(r.includes(N))continue;r.push(N);let z=n(p,d);for(let E=0;E<z.length;++E){let Y=z[E];r.push(x+Y)}a=y+(a.length>0?" "+a:a)}return a};function Nt(){let t=0,e,o,s="";for(;t<arguments.length;)(e=arguments[t++])&&(o=Ee(e))&&(s&&(s+=" "),s+=o);return s}var Ee=t=>{if(typeof t=="string")return t;let e,o="";for(let s=0;s<t.length;s++)t[s]&&(e=Ee(t[s]))&&(o&&(o+=" "),o+=e);return o};function Pt(t,...e){let o,s,n,r=l;function l(c){let y=e.reduce((g,v)=>v(g),t());return o=kt(y),s=o.cache.get,n=o.cache.set,r=a,a(c)}function a(c){let y=s(c);if(y)return y;let g=Ct(c,o);return n(c,g),g}return function(){return r(Nt.apply(null,arguments))}}var f=t=>{let e=o=>o[t]||[];return e.isThemeGetter=!0,e},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Bt=/^\d+\/\d+$/,Rt=new Set(["px","full","screen"]),St=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)$-?((\d+)?\.?(\d+)[a-z]+|0)/,zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>G(t)||Rt.has(t)||Bt.test(t),T=t=>U(t,"length",Ot),G=t=>!!t&&!Number.isNaN(Number(t)),ge=t=>U(t,"number",G),V=t=>!!t&&Number.isInteger(Number(t)),Et=t=>t.endsWith("%")&&G(t.slice(0,-1)),i=t=>Fe.test(t),M=t=>St.test(t),Ft=new Set(["length","size","percentage"]),Lt=t=>U(t,Ft,Le),Gt=t=>U(t,"position",Le),Ut=new Set(["image","url"]),Dt=t=>U(t,Ut,jt),Ht=t=>U(t,"",Vt),j=()=>!0,U=(t,e,o)=>{let s=Fe.exec(t);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):o(s[2]):!1},Ot=t=>Tt.test(t)&&!Mt.test(t),Le=()=>!1,Vt=t=>It.test(t),jt=t=>zt.test(t);var Qt=()=>{let t=f("colors"),e=f("spacing"),o=f("blur"),s=f("brightness"),n=f("borderColor"),r=f("borderRadius"),l=f("borderSpacing"),a=f("borderWidth"),c=f("contrast"),y=f("grayscale"),g=f("hueRotate"),v=f("invert"),w=f("gap"),C=f("gradientColorStops"),d=f("gradientColorStopPositions"),p=f("inset"),u=f("margin"),x=f("opacity"),N=f("padding"),z=f("saturate"),E=f("scale"),Y=f("sepia"),ke=f("skew"),Ae=f("space"),Ce=f("translate"),de=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",i,e],h=()=>[i,e],Ne=()=>["",B,T],W=()=>["auto",G,i],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",i],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[B,T],blur:["none","",M,i],brightness:P(),borderColor:[t],borderRadius:["none","","full",M,i],borderSpacing:h(),borderWidth:Ne(),contrast:P(),grayscale:O(),hueRotate:P(),invert:O(),gap:h(),gradientColorStops:[t],gradientColorStopPositions:[Et,T],inset:ue(),margin:ue(),opacity:P(),padding:h(),saturate:P(),scale:P(),sepia:O(),skew:P(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Pe(),i]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-y":[{"overflow-y":pe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,i]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",V,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",V,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[V,i]},i]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],$:[{$:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[Ae]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ae]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",M,T]}],"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:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,T]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),Gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Dt]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:X()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,T]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,T]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",M,Ht]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[z]}],sepia:[{sepia:[Y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[V,i]}],"translate-x":[{"translate-x":[Ce]}],"translate-y":[{"translate-y":[Ce]}],"skew-x":[{"skew-x":[ke]}],"skew-y":[{"skew-y":[ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","$-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-$":[{"scroll-$":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[B,T,ge]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],$:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-$":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ge=Pt(Qt);function b(...t){return Ge((0,Ue.clsx)(t))}var $=require("react/jsx-runtime"),De=({className:t,content:e,style:o})=>(0,$.jsx)("div",{className:b("mx-auto my-8 w-full",t),children:(0,$.jsx)("div",{className:b("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,$.jsx)(R,{content:e,enableGutter:!1,enableProse:!1})})});var He=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Ve=Z(require("react")),_t=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Q=Ve.forwardRef(({asChild:t=!1,className:e,size:o,variant:s,...n},r)=>(0,$.jsx)(t?He.Slot:"button",{className:b(_t({className:e,size:o,variant:s})),ref:r,...n}));Q.displayName="Button";var ye=Z(require("next/link")),D=t=>{let{type:e,appearance:o="inline",children:s,className:n,label:r,newTab:l,reference:a,size:c,url:y}=t,g=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:y;if(!g)return null;let v=o==="link"?"clear":c,w=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,$.jsxs)(ye.default,{className:b(n),href:g||y||"",...w,children:[r&&r,s&&s]}):(0,$.jsx)(Q,{asChild:!0,className:n,size:v,variant:o,children:(0,$.jsxs)(ye.default,{className:b(n),href:g||y||"",...w,children:[r&&r,s&&s]})})};var ee=({links:t,richText:e})=>(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,$.jsx)(R,{className:"mb-0",content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,$.jsx)(D,{size:"lg",...o},s))})]})});var te=require("prism-react-renderer");var Qe=require("lucide-react");function Je({code:t}){let[e,o]=(0,H.useState)("Copy");function s(){e==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(Q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,$.jsx)("p",{children:e}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(Qe.ClipboardCopy,{})})]})})}var Ke=({code:t,language:e=""})=>t?(0,$.jsx)(te.Highlight,{code:t,language:e,theme:te.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,$.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((r,l)=>(0,$.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:r.map((a,c)=>(0,$.jsx)("span",{...s({token:a})},c))})]},l)),(0,$.jsx)(Je,{code:t})]})}):null;var Ye=({className:t,code:e,language:o})=>(0,$.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(Ke,{code:e,language:o})});var Xe=Z(require("next/image"));var We=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var oe=()=>{if(We){let t=window.location.protocol,e=window.location.hostname,o=window.location.port;return`${t}//${e}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Jt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Kt="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=",qe=t=>{let{alt:e,fill:o,imgClassName:s,priority:n,resource:r,size:l,src:a,loading:c}=t,y,g,v=e,w=a||"";if(!w&&r&&typeof r=="object"){let{alt:p,filename:u,height:x,url:N,width:z}=r;y=z,g=x,v=p||"",w=`${oe()}${N}`}let C=c||"lazy",d=l||Object.entries(Jt).map(([,p])=>`(max-width: ${p}px) ${p*2}w`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(Xe.default,{alt:v||"",className:b(s),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:Kt,priority:C!=="lazy"&&n,quality:100,loading:C,sizes:d,src:w,width:o?void 0:y})})};var Ze=t=>{let{onClick:e,resource:o,videoClassName:s}=t,n=(0,H.useRef)(null);if((0,H.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,$.jsx)("video",{autoPlay:!0,className:b(s),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:n,children:(0,$.jsx)("source",{src:`${oe()}/media/${r}`})})}return null};var et=t=>{var l;let{className:e,htmlElement:o="div",resource:s}=t,n=typeof s=="object"&&((l=s==null?void 0:s.mimeType)==null?void 0:l.includes("video"));return(0,$.jsx)(o||$e.Fragment,{...o!==null?{className:e}:{},children:n?(0,$.jsx)(Ze,{...t}):(0,$.jsx)(qe,{...t})})};var J=t=>{let{className:e,enableGutter:o=!0,imgClassName:s,media:n,staticImage:r}=t;return(0,$.jsx)("div",{className:b("",{container:o},e),children:(0,$.jsx)(et,{imgClassName:b("border border-border rounded-[0.8rem]",s),resource:n,src:r})})};var se=({title:t,description:e,features:o,id:s})=>(0,$.jsxs)("section",{className:b("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:s||"",children:t}),e&&typeof e=="string"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,$.jsx)(R,{content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((n,r)=>{let l=(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,$.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,$.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,$.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",children:(0,$.jsx)(R,{content:n.content,enableGutter:!1})})]},r);return n.link?(0,$.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:l},r):l})})]});var le=Z(require("react"));function ae({nodes:t}){return(0,$.jsx)(le.Fragment,{children:t==null?void 0:t.map((e,o)=>{if(e==null)return null;if(e.type==="text"){let r=(0,$.jsx)(le.default.Fragment,{children:e.text},o);return e.format&1&&(r=(0,$.jsx)("strong",{children:r},o)),e.format&2&&(r=(0,$.jsx)("em",{children:r},o)),e.format&4&&(r=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),e.format&8&&(r=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),e.format&16&&(r=(0,$.jsx)("code",{children:e.text},o)),e.format&32&&(r=(0,$.jsx)("sub",{children:r},o)),e.format&64&&(r=(0,$.jsx)("sup",{children:r},o)),r}if(e.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:e.children.map((r,l)=>(0,$.jsx)("tr",{children:r.children.map((a,c)=>(0,$.jsx)("td",{children:ae({nodes:a.children})},c))},l))})},o);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let l of r.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return ae({nodes:r.children})},n="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,l=r==null?void 0:r.blockType;if(!r||!l)return null;switch(l){case"cta":return(0,$.jsx)(ee,{...r},o);case"mediaBlock":return(0,$.jsx)(J,{className:"col-start-1 col-span-3",imgClassName:"$-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,$.jsx)(De,{className:"col-start-2 mb-4",...r},o);case"code":return(0,$.jsx)(Ye,{className:"col-start-2",...r},o);case"features":return(0,$.jsx)(se,{...r},o);default:return null}}else switch(e.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,$.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let r=e==null?void 0:e.tag;return(0,$.jsx)(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:n},o)}case"list":{let r=e==null?void 0:e.tag;return(0,$.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,$.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:n},o):(0,$.jsx)("li",{value:e==null?void 0:e.value,children:n},o);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=e.fields;return(0,$.jsx)(D,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var R=({className:t,content:e,enableGutter:o=!0,enableProse:s=!0})=>{var n;return e?(0,$.jsx)("div",{className:b({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&ae({nodes:(n=e==null?void 0:e.root)==null?void 0:n.children})}):null};var ot=t=>{let{columns:e}=t,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:e&&e.length>0&&e.map((s,n)=>{let{enableLink:r,link:l,richText:a,size:c}=s;return(0,$.jsxs)("div",{className:b(`col-span-4 lg:col-span-${o[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,$.jsx)(R,{content:a,enableGutter:!1}),r&&(0,$.jsx)(D,{...l})]},n)})})})};var rt={content:ot,cta:ee,mediaBlock:J,imageBlock:J,features:se},nt=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,$.jsx)("section",{id:"render-blocks",children:e.map((s,n)=>{let{blockType:r}=s;if(r&&r in rt){let l=rt[r];if(l)return(0,$.jsx)("div",{className:"my-6",children:(0,$.jsx)(l,{...s})},n)}return null})}):null};var K=require("framer-motion");var st=require("next/router"),at=t=>{let[e,o]=(0,H.useState)(0),s=(0,st.useRouter)(),{blocks:n}=t,r=n&&Array.isArray(n)&&n.length>0,l=d=>{console.log("sectionId",d),console.log("block",n[d]),o(d)},a=()=>{o(d=>(d+1)%n.length)},c=()=>{o(d=>(d-1+n.length)%n.length)},g=(0,H.useCallback)(((d,p)=>{let u;return(...x)=>{clearTimeout(u),u=setTimeout(()=>d(...x),p)}})(d=>{d.deltaY>0?a():c()},300),[]),v=d=>{d.key==="ArrowDown"?a():d.key==="ArrowUp"&&c()},w=()=>{let p=s.asPath.replace("/present/","/print/"),u=window.open(p,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");u&&u.focus()},C=()=>{s.back()};return(0,H.useEffect)(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",v),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",v)}),[]),(0,$.jsxs)("div",{className:"flex h-screen relative",children:[(0,$.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:r&&n.map((d,p)=>(0,$.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===p?"bg-accent":"bg-gray-300"}`,onClick:()=>l(p),children:(0,$.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:d.blockName})},d.id))}),n.map((d,p)=>(0,$.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${p===e?"opacity-100":"opacity-0"}`,children:(0,$.jsx)(nt,{blocks:[d]})},p)),(0,$.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:a,children:(0,$.jsx)(Yt,{})}),(0,$.jsx)("button",{className:"absolute top-14 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:w,children:(0,$.jsx)(Qe.Printer,{})}),(0,$.jsx)("button",{className:"absolute top-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:C,children:(0,$.jsx)(Qe.CircleX,{})})]})},Yt=()=>(0,$.jsx)(K.AnimatePresence,{children:(0,$.jsx)(K.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:b("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:(0,$.jsx)(K.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:b("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});var Wt={title:"Layouts/SlideShow",component:at,tags:["autodocs"],argTypes:{}},Xt=Wt,qt={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};0&&(module.exports={Primary});
|