@uniformdev/csk-components 6.0.104 → 6.0.114-alpha.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.
Files changed (92) hide show
  1. package/dist/accordion-item-QAVKQEB2.mjs +1 -0
  2. package/dist/accordion-item-Y4PSNOH4.mjs +1 -0
  3. package/dist/{banner-2B4K5R4N.mjs → banner-EYII7V7X.mjs} +1 -1
  4. package/dist/carousel-RZ2DV6QX.mjs +1 -0
  5. package/dist/carousel-YELQRJVB.mjs +1 -0
  6. package/dist/chunk-7GVG4HLE.mjs +1 -0
  7. package/dist/{chunk-LA36HQWS.mjs → chunk-B2O55EVA.mjs} +1 -1
  8. package/dist/chunk-EIEZRPWW.mjs +1 -0
  9. package/dist/chunk-EOV2LPGC.mjs +1 -0
  10. package/dist/chunk-EUVKAE6M.mjs +1 -0
  11. package/dist/chunk-LG7MD2DH.mjs +1 -0
  12. package/dist/chunk-PMMAALCQ.mjs +1 -0
  13. package/dist/chunk-RYEXR67P.mjs +1 -0
  14. package/dist/chunk-TCQTXNKT.mjs +1 -0
  15. package/dist/{chunk-FPOIJMYT.mjs → chunk-VW2XC3SE.mjs} +1 -1
  16. package/dist/chunk-WAW7PQYM.mjs +1 -0
  17. package/dist/components/canvas/emptyPlaceholders.mjs +1 -1
  18. package/dist/components/canvas/index.d.mts +5 -21
  19. package/dist/components/canvas/index.mjs +2 -2
  20. package/dist/components/ui/index.d.mts +48 -25
  21. package/dist/components/ui/index.mjs +1 -1
  22. package/dist/content/components/canvas/Accordion/accordion.tsx +6 -12
  23. package/dist/content/components/canvas/AccordionItem/accordion-item.tsx +23 -36
  24. package/dist/content/components/canvas/Button/index.tsx +1 -2
  25. package/dist/content/components/canvas/Card/card.tsx +1 -3
  26. package/dist/content/components/canvas/Carousel/carousel.tsx +1 -3
  27. package/dist/content/components/canvas/Container/container.tsx +0 -4
  28. package/dist/content/components/canvas/Container/parameters.ts +0 -4
  29. package/dist/content/components/canvas/DemoHero/atoms.tsx +31 -4
  30. package/dist/content/components/canvas/DemoHero/columns-variant.tsx +1 -7
  31. package/dist/content/components/canvas/DemoHero/default-variant.tsx +1 -8
  32. package/dist/content/components/canvas/DemoHero/demo-hero.tsx +2 -4
  33. package/dist/content/components/canvas/DemoHero/fixed-hero.tsx +57 -65
  34. package/dist/content/components/canvas/DemoHero/index.tsx +3 -14
  35. package/dist/content/components/canvas/DemoHero/utils.ts +14 -0
  36. package/dist/content/components/canvas/Flex/flex.tsx +2 -4
  37. package/dist/content/components/canvas/Grid/grid.tsx +1 -3
  38. package/dist/content/components/canvas/Image/image.tsx +13 -2
  39. package/dist/content/components/canvas/ImageGallery/image-gallery.tsx +1 -3
  40. package/dist/content/components/canvas/Review/default-variant.tsx +1 -3
  41. package/dist/content/components/canvas/Review/multi-column-variant.tsx +1 -3
  42. package/dist/content/components/canvas/Section/columns-variant.tsx +1 -7
  43. package/dist/content/components/canvas/Section/default-variant.tsx +1 -10
  44. package/dist/content/components/canvas/Section/section.tsx +0 -4
  45. package/dist/content/components/canvas/Table/table.tsx +1 -6
  46. package/dist/content/components/canvas/Tabs/tabs.tsx +1 -6
  47. package/dist/content/components/canvas/Testimonial/default-variant.tsx +2 -4
  48. package/dist/content/components/canvas/Testimonial/testimonial.tsx +0 -4
  49. package/dist/content/components/canvas/Testimonial/with-large-avatar-variant.tsx +2 -4
  50. package/dist/content/components/canvas/Testimonial/with-overlapping-image-variant.tsx +2 -4
  51. package/dist/content/components/canvas/Video/index.tsx +0 -2
  52. package/dist/content/components/canvas/Video/video.tsx +1 -2
  53. package/dist/content/components/ui/Button/index.ts +2 -5
  54. package/dist/content/components/ui/Carousel/carousel.tsx +2 -2
  55. package/dist/content/components/ui/Carousel/index.ts +1 -1
  56. package/dist/content/components/ui/Container/container.tsx +2 -7
  57. package/dist/content/components/ui/Container/index.ts +0 -6
  58. package/dist/content/components/ui/Flex/flex.tsx +19 -27
  59. package/dist/content/components/ui/Flex/index.ts +1 -5
  60. package/dist/content/components/ui/Footer/index.ts +1 -1
  61. package/dist/content/components/ui/Grid/grid.tsx +19 -25
  62. package/dist/content/components/ui/Grid/index.ts +4 -16
  63. package/dist/content/components/ui/GridItem/index.ts +4 -10
  64. package/dist/content/components/ui/Header/index.ts +1 -1
  65. package/dist/content/components/ui/Text/index.ts +3 -6
  66. package/dist/image-gallery-AMU6FS7N.mjs +1 -0
  67. package/dist/{index-B9eeSbLG.d.mts → index-D5cLtaIv.d.mts} +7 -14
  68. package/dist/{mobile-UAUHHXPH.mjs → mobile-JGZBHQC2.mjs} +1 -1
  69. package/dist/navigation-flyout-NAU6O2WG.mjs +1 -0
  70. package/dist/navigation-group-QA65N6AI.mjs +1 -0
  71. package/dist/tabs-J23TEEQ7.mjs +1 -0
  72. package/package.json +7 -7
  73. package/dist/accordion-item-G5CNMERW.mjs +0 -1
  74. package/dist/carousel-BBEW5P4Y.mjs +0 -1
  75. package/dist/carousel-ERCHOWUS.mjs +0 -1
  76. package/dist/chunk-4LWAGTFW.mjs +0 -1
  77. package/dist/chunk-5VM2Y55L.mjs +0 -1
  78. package/dist/chunk-AKRWCDDG.mjs +0 -1
  79. package/dist/chunk-M3BGP5VE.mjs +0 -1
  80. package/dist/chunk-QHIWJPL6.mjs +0 -1
  81. package/dist/chunk-TIRCISSU.mjs +0 -1
  82. package/dist/chunk-TM7Q5NMH.mjs +0 -1
  83. package/dist/chunk-YUCUJWBO.mjs +0 -1
  84. package/dist/chunk-Z7JSWSPD.mjs +0 -1
  85. package/dist/content/components/canvas/AccordionItem/icon-arrow-down.tsx +0 -20
  86. package/dist/content/components/canvas/AccordionItem/icon-arrow-up.tsx +0 -20
  87. package/dist/content/components/canvas/Image/placeholder.tsx +0 -20
  88. package/dist/content/components/ui/Container/utils.ts +0 -18
  89. package/dist/image-gallery-F6JLG7XW.mjs +0 -1
  90. package/dist/navigation-flyout-MXIJA6PC.mjs +0 -1
  91. package/dist/navigation-group-DEN3D2BO.mjs +0 -1
  92. package/dist/tabs-AQFKYC6M.mjs +0 -1
@@ -0,0 +1 @@
1
+ "use client";import{a as r}from"./chunk-7GVG4HLE.mjs";import{c as l}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as C,useState as L}from"react";import{jsx as i}from"react/jsx-runtime";var s=({className:t,...o})=>i("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50013 0L0 7.13651L1.95843 9L7.5 3.7271L13.0416 9L15 7.13651L7.50013 0Z",fill:"currentColor"})});import{jsx as p}from"react/jsx-runtime";var c=({className:t,...o})=>p("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49987 9L15 1.86349L13.0416 0L7.5 5.2729L1.95843 0L0 1.86349L7.49987 9Z",fill:"currentColor"})});import{jsx as e,jsxs as m}from"react/jsx-runtime";var N=({text:t,backgroundColor:o,spacing:w,className:f,accordionItemContent:d})=>{let[n,u]=L(!1),v=C(()=>u(a=>!a),[]);return m(r,{fluidContent:!0,children:[e(r,{backgroundColor:o,spacing:w,fluidContent:!0,className:f,children:m("button",{onClick:v,className:"flex w-full cursor-pointer flex-row items-center justify-between text-start",children:[t,e("div",{className:l({[`text-${o} invert`]:!!o,"text-black dark:text-white":!o}),children:n?e(s,{}):e(c,{})})]})}),n&&d]})};export{N as AccordionItem};
@@ -0,0 +1 @@
1
+ "use client";import{a as m}from"./chunk-PMMAALCQ.mjs";import{a as r}from"./chunk-WAW7PQYM.mjs";import"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{UniformSlot as T,UniformText as B}from"@uniformdev/canvas-next-rsc/component";import{jsx as o}from"react/jsx-runtime";var U=({tag:n,alignment:c,color:i,size:d,font:a,weight:p,transform:s,decoration:f,letterSpacing:x,slots:I,component:t,context:e,backgroundColor:l,spacing:A,className:C})=>o(m,{backgroundColor:l,spacing:A,className:C,text:o(r,{alignment:c,color:i,size:d,font:a,weight:p,transform:s,decoration:f,letterSpacing:x,children:o(B,{placeholder:"Text goes here",parameterId:"text",as:n||void 0,component:t,context:e})}),accordionItemContent:o(T,{data:t,context:e,slot:I.accordionItemContent})});export{U as AccordionItem};
@@ -1 +1 @@
1
- "use client";import"./chunk-LA36HQWS.mjs";import{b as i}from"./chunk-YUCUJWBO.mjs";import"./chunk-MSXDLSXH.mjs";import{c as e}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as L,useState as S}from"react";import{UniformSlot as V}from"@uniformdev/canvas-next-rsc/component";import{jsx as s}from"react/jsx-runtime";var h=({className:t,...o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:e("size-5",t),...o,children:s("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})}),y=({onClose:t,iconColor:o})=>s("button",{onClick:t,className:e("absolute right-5 top-1/2 -translate-y-1/2",{[`text-${o}`]:o}),children:s(h,{})}),C=y;var f=({variant:t,floating:o})=>e({"!w-11/12 left-1/2 -translate-x-1/2 my-4":o&&!!t,"fixed top-0 w-full z-10":t==="top","fixed bottom-0 w-full z-10":t==="bottom","p-4":o&&!t}),u=({contentAlignment:t,iconColor:o,fluidContent:r,floating:n})=>e("flex flex-row gap-x-4",{"justify-start":t==="left","justify-center":t==="center","justify-end":t==="right","pr-10":t==="right"&&o,"!mx-0":!r,"rounded-lg":n});import{jsx as p,jsxs as k}from"react/jsx-runtime";var X=({component:t,context:o,backgroundColor:r,spacing:n,border:c,fluidContent:a,slots:P,iconColor:l,contentAlignment:x="center",floating:m=!1})=>{let[d,B]=S(!0),g=L(()=>{B(!1)},[]);if(!d)return null;let w=f({variant:t.variant,floating:m}),b=u({contentAlignment:x,iconColor:l,fluidContent:a,floating:m});return p(i,{className:w,fluidContent:a,border:c,children:k(i,{className:e("relative w-full",b),backgroundColor:r,spacing:n,fluidContent:a,children:[p(V,{data:t,context:o,slot:P.bannerContent}),l&&p(C,{onClose:g,iconColor:l})]})})};export{X as Banner};
1
+ "use client";import"./chunk-B2O55EVA.mjs";import{a as i}from"./chunk-7GVG4HLE.mjs";import"./chunk-MSXDLSXH.mjs";import{c as e}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as L,useState as S}from"react";import{UniformSlot as V}from"@uniformdev/canvas-next-rsc/component";import{jsx as s}from"react/jsx-runtime";var h=({className:t,...o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:e("size-5",t),...o,children:s("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})}),y=({onClose:t,iconColor:o})=>s("button",{onClick:t,className:e("absolute right-5 top-1/2 -translate-y-1/2",{[`text-${o}`]:o}),children:s(h,{})}),C=y;var f=({variant:t,floating:o})=>e({"!w-11/12 left-1/2 -translate-x-1/2 my-4":o&&!!t,"fixed top-0 w-full z-10":t==="top","fixed bottom-0 w-full z-10":t==="bottom","p-4":o&&!t}),u=({contentAlignment:t,iconColor:o,fluidContent:r,floating:n})=>e("flex flex-row gap-x-4",{"justify-start":t==="left","justify-center":t==="center","justify-end":t==="right","pr-10":t==="right"&&o,"!mx-0":!r,"rounded-lg":n});import{jsx as p,jsxs as k}from"react/jsx-runtime";var X=({component:t,context:o,backgroundColor:r,spacing:n,border:c,fluidContent:a,slots:P,iconColor:l,contentAlignment:x="center",floating:m=!1})=>{let[d,B]=S(!0),g=L(()=>{B(!1)},[]);if(!d)return null;let w=f({variant:t.variant,floating:m}),b=u({contentAlignment:x,iconColor:l,fluidContent:a,floating:m});return p(i,{className:w,fluidContent:a,border:c,children:k(i,{className:e("relative w-full",b),backgroundColor:r,spacing:n,fluidContent:a,children:[p(V,{data:t,context:o,slot:P.bannerContent}),l&&p(C,{onClose:g,iconColor:l})]})})};export{X as Banner};
@@ -0,0 +1 @@
1
+ "use client";import"./chunk-EUVKAE6M.mjs";import{a as p}from"./chunk-7GVG4HLE.mjs";import{a as x,c as s}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as h,useEffect as N,useMemo as S,useRef as T,useState as y}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var H=({countOfItems:o,backgroundColor:t,spacing:w,border:C,fluidContent:k,height:z,itemsPerPage:E="1",children:P,gapX:c,variant:b="default"})=>{let u=T(null),[f,m]=y(0),[R,$]=y(!1),l=Number(E),n=S(()=>o?l>1?Math.ceil(o/l):o:0,[o,l]);N(()=>{let e=()=>$(r=>!r);return window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)},[]),N(()=>{if(u.current){let{clientWidth:e}=u.current;u.current.scrollLeft=f*e}},[f,R]);let d=h(()=>{m(e=>e===0?n-1:e-1)},[n]),v=h(()=>{m(e=>e===n-1?0:e+1)},[n]),L=()=>b==="brochure"?a("div",{className:s("flex py-4 px-4 z-5 gap-x-4 justify-end items-center"),children:[i("button",{onClick:d,children:"\u276E"}),i("div",{className:"flex items-center gap-2",children:Array.from({length:n}).map((e,r)=>i("button",{onClick:()=>m(r),className:s("h-2 rounded-full transition-all duration-300 size-2 opacity-50",{"w-6 opacity-100":r===f,[`bg-${t} invert`]:!!t,"bg-black dark:bg-white":!t}),"aria-label":`Go to slide ${r+1}`},`slide-${r}`))}),i("button",{onClick:v,children:"\u276F"})]}):b==="numeric"?a("div",{className:s("flex py-4 px-4 z-5 gap-x-4 justify-end items-center",{[`text-${t} invert`]:!!t,"text-black dark:text-white":!t}),children:[i("button",{onClick:d,children:"\u276E"}),a("div",{className:"flex flex-col px-2",children:[f+1," of ",n]}),i("button",{onClick:v,children:"\u276F"})]}):a("div",{className:s("absolute inset-x-5 top-1/2 flex -translate-y-1/2 justify-between",{[`text-${t} invert`]:!!t,"text-black dark:text-white":!t}),children:[i("button",{onClick:d,children:"\u276E"}),i("button",{onClick:v,children:"\u276F"})]}),M=()=>P({className:s("flex size-full items-center justify-center",{[x(c,"px-{value}")]:c}),style:{minWidth:l>1?`calc(${100/l}%)`:"100%"}});return i(p,{backgroundColor:t,spacing:w,border:C,fluidContent:k,height:z,children:a("div",{className:s("relative",{[x(c,"-mx-{value}")]:c}),children:[i("div",{ref:u,className:"flex overflow-x-hidden scroll-smooth",children:M()}),L()]})})};export{H as Carousel};
@@ -0,0 +1 @@
1
+ "use client";import{a as s}from"./chunk-EUVKAE6M.mjs";import"./chunk-YEKQJ4YC.mjs";import{UniformSlot as d}from"@uniformdev/canvas-next-rsc/component";import{jsx as o}from"react/jsx-runtime";var B=({slots:r,component:e,context:t,backgroundColor:a,spacing:l,border:m,fluidContent:i,height:u,itemsPerPage:f,gapX:C})=>o(s,{backgroundColor:a,spacing:l,border:m,fluidContent:i,height:u,itemsPerPage:f,gapX:C,countOfItems:r.carouselItems?.items.length??0,variant:e.variant,children:({className:n,style:p})=>o(d,{context:t,slot:r.carouselItems,data:e,children:({child:c,key:v})=>o("div",{className:n,style:p,children:c},v)})});export{B as Carousel};
@@ -0,0 +1 @@
1
+ import{a,b as c,c as o}from"./chunk-S7CSCIW4.mjs";import{jsx as f}from"react/jsx-runtime";var y=({className:w,wrapperClassName:x,style:P,children:T,backgroundColor:i,spacing:V,border:p="",fluidContent:e=!1,height:r,maxWidth:t,...b})=>{let[C,{marginTop:n,marginBottom:m,marginRight:l,marginLeft:s,paddingTop:g,paddingBottom:v,paddingRight:u,paddingLeft:d}]=c(V);return f("div",{className:o("px-4 xl:px-0",{"!px-0":e,"mx-auto w-full":!e,"max-w-7xl max-w-container-width":!t&&!e,[`max-w-${t}`]:!!t&&!e,[a(r,"h-{value}")]:r},x),children:f("div",{className:o({[`bg-${i}`]:!!i,[a(n,"mt-{value}")]:n,[a(m,"mb-{value}")]:m,[a(l,"mr-{value}")]:l,[a(s,"ml-{value}")]:s,[a(g,"pt-{value}")]:g,[a(v,"pb-{value}")]:v,[a(u,"pr-{value}")]:u,[a(d,"pl-{value}")]:d,[a(p,"{value}")]:p,[a(r,"h-{value}")]:r},w),style:{...C,...P},...b,children:T})})};export{y as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";import{jsx as m}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"bannerContent":return{component:()=>m("div",{className:"h-20 w-full"})};default:return o}};var l=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(l||{}),t=(n=>(n.BannerContent="bannerContent",n))(t||{}),h=p(()=>import("./banner-2B4K5R4N.mjs").then(e=>e.Banner));export{l as a,t as b,h as c,a as d};
1
+ import{a as o}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";import{jsx as m}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"bannerContent":return{component:()=>m("div",{className:"h-20 w-full"})};default:return o}};var l=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(l||{}),t=(n=>(n.BannerContent="bannerContent",n))(t||{}),h=p(()=>import("./banner-EYII7V7X.mjs").then(e=>e.Banner));export{l as a,t as b,h as c,a as d};
@@ -0,0 +1 @@
1
+ import{a as i}from"./chunk-7GVG4HLE.mjs";import{a as e,c as p}from"./chunk-S7CSCIW4.mjs";import{jsx as n}from"react/jsx-runtime";var f=({className:r,wrapperClassName:t,direction:o,justifyContent:a,gap:s,alignItems:m,backgroundColor:P,spacing:x,border:u,fluidContent:y,height:l,children:c})=>n(i,{backgroundColor:P,spacing:x,border:u,fluidContent:y,height:l,wrapperClassName:t,children:n("div",{className:p("flex",{[e(o,"flex-{value}")]:o,[e(a,"justify-{value}")]:a,[e(s,"gap-{value}")]:s,[e(m,"items-{value}")]:m,[e(l,"h-{value}")]:l},r),children:c})});import{jsx as g}from"react/jsx-runtime";var d=({className:r,alignSelf:t,shrink:o,children:a})=>g("div",{className:p({[e(t,"self-{value}")]:t,[`shrink-${o}`]:o},r),children:a});import I from"next/dynamic";var v=I(()=>import("./video-RC2QHJS2.mjs").then(r=>r.Video));export{f as a,d as b,v as c};
@@ -0,0 +1 @@
1
+ import{b as B,c as w}from"./chunk-6TUDWIYU.mjs";import{a as F}from"./chunk-WAW7PQYM.mjs";import{a as R,b as c}from"./chunk-TCQTXNKT.mjs";import{a as m}from"./chunk-7GVG4HLE.mjs";import{d as y}from"./chunk-RX4IAAQQ.mjs";import{a as g,c as a}from"./chunk-S7CSCIW4.mjs";import{jsx as D,jsxs as E}from"react/jsx-runtime";var z=({accordionContent:e,accordionItems:o,backgroundColor:r,spacing:i,border:t,fluidContent:n,height:s,className:l})=>E(m,{className:a("flex flex-col gap-8",l),backgroundColor:r,spacing:i,border:t,fluidContent:n,height:s,children:[e&&D("div",{className:"flex flex-col gap-4 text-start",children:e}),o]});import O from"next/link";import{jsx as Z}from"react/jsx-runtime";var x=({children:e,link:o,openInNewTab:r,rel:i,className:t})=>Z(O,{href:o,className:a("[&:hover_img]:scale-[0.98] [&_img]:transition-transform hover:underline transition-transform",t),target:r?"_blank":"_self",rel:i,children:e});var L=(o=>(o.Link="link",o))(L||{});import{jsx as H,jsxs as K}from"react/jsx-runtime";var J=({children:e,href:o,className:r,onClick:i})=>{let t=y(o);return o?H(x,{className:r,link:o,openInNewTab:t,rel:t?"noopener noreferrer":"",children:e}):H("button",{onClick:i,className:r,children:e})},q=({variant:e,children:o,href:r,className:i,onClick:t,textColor:n,textSize:s,buttonColor:l,isActive:S,icon:f,iconPosition:W,border:P="",textTransform:h="",textWeight:C,textFont:u,size:N,hoverButtonColor:k,hoverTextColor:b})=>{let G=a("block w-max font-medium focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",{[`text-${n}`]:n,[`hover:text-${b}`]:b,"flex flex-row gap-x-2":f,"flex-row-reverse":f&&W==="right",[`font-${u}`]:!!u,[`font-${C}`]:!!C,[`p-${N}`]:N,[h]:!!h,[g(P,"{value}")]:P,[g(s,"text-{value}")]:s}),V=a({[`bg-${l}`]:l,[`hover:bg-${k}`]:k}),_=a("bg-transparent hover:underline hover:opacity-100",{[`hover:decoration-${l}`]:l,"!underline":r===S});return K(J,{href:r,onClick:t,className:a(G,{[V]:!e,[_]:e==="link"},i),children:[f,o]})};import{jsx as I,jsxs as U}from"react/jsx-runtime";var Q=({type:e,placeholder:o})=>U("div",{className:"flex aspect-video size-full flex-col items-center justify-center bg-white text-black dark:bg-black dark:text-white",children:[I(e==="video"?w:B,{className:"size-1/2 max-h-36 max-w-36"}),!!o&&I(F,{className:"text-center",weight:"bold",children:o})]});import{jsx as v,jsxs as M}from"react/jsx-runtime";var X=({logo:e,content:o,copyright:r,backgroundColor:i,spacing:t,border:n,fluidContent:s})=>v("footer",{children:v(m,{backgroundColor:i,spacing:t,border:n,fluidContent:s,children:M(m,{className:"flex w-full flex-col justify-between gap-4 md:flex-row",children:[M("div",{className:"flex flex-col gap-2 gap-y-4 md:w-1/2",children:[e,r]}),v("div",{children:o})]})})});import j from"next/dynamic";import{jsx as p,jsxs as Y}from"react/jsx-runtime";var $=({leftSection:e,rightSection:o,children:r,backgroundColor:i,spacing:t,border:n,className:s})=>p("nav",{children:p(m,{fluidContent:!0,backgroundColor:i,spacing:t,border:n,className:s,children:Y(R,{className:"items-center",columnsCount:"12",children:[p(c,{columnSpan:"span-3",children:p("div",{className:"flex items-center justify-start",children:e})}),p(c,{columnSpan:"span-6",children:p("div",{className:"flex items-center justify-center gap-x-8",children:r})}),p(c,{columnSpan:"span-3",children:p("div",{className:"flex items-center justify-end gap-x-4",children:o})})]})})});import{jsx as d,jsxs as re}from"react/jsx-runtime";var ee=j(()=>import("./mobile-JGZBHQC2.mjs").then(e=>e.MobileHeader)),oe=({sticky:e,...o})=>re("header",{className:a({"sticky top-0 shadow z-10":e}),children:[d("div",{className:"hidden md:block",children:d($,{...o})}),d("div",{className:"block md:hidden",children:d(ee,{...o})})]});import{jsx as ie,jsxs as ae}from"react/jsx-runtime";var te=({className:e,header:o,footer:r,children:i,backgroundColor:t,...n})=>ae("div",{className:a("flex min-h-screen flex-col",e,{[`bg-${t}`]:!!t}),...n,children:[o,ie("div",{className:"flex flex-1 flex-col",children:i}),r]});import{jsx as A,jsxs as T}from"react/jsx-runtime";var ne=({rating:e,showReviewLabel:o,starsColor:r,activeStarsColor:i})=>T("div",{className:"flex items-center space-x-1",children:[Array.from({length:5},(t,n)=>{let s=e>=n+1;return A("svg",{className:a("w-5 h-5",{[`fill-${r}`]:!s,[`fill-${i}`]:s}),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:A("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})},n)}),o&&T("div",{className:"text-sm leading-[3px]",children:["(",e,"/5)"]})]});export{z as a,x as b,q as c,L as d,Q as e,X as f,oe as g,te as h,ne as i};
@@ -0,0 +1 @@
1
+ import t from"next/dynamic";var o=t(()=>import("./carousel-RZ2DV6QX.mjs").then(e=>e.Carousel));export{o as a};
@@ -0,0 +1 @@
1
+ import{a as be,c as Ne,e as Fe,f as we,g as Ee,h as He,i as O}from"./chunk-EOV2LPGC.mjs";import{a as Te}from"./chunk-WAW7PQYM.mjs";import{a as Z}from"./chunk-BK7UG4U4.mjs";import{a as c}from"./chunk-7GVG4HLE.mjs";import{a as Q}from"./chunk-2YTACEBA.mjs";import{a as l}from"./chunk-MSXDLSXH.mjs";import{c as Re}from"./chunk-RX4IAAQQ.mjs";import{c as p}from"./chunk-S7CSCIW4.mjs";import{UniformSlot as Ae}from"@uniformdev/canvas-next-rsc/component";import{jsx as j}from"react/jsx-runtime";var yo=({slots:e,component:o,context:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,height:s})=>j(be,{accordionContent:j(Ae,{data:o,context:t,slot:e.accordionContent}),accordionItems:j(Ae,{data:o,context:t,slot:e.accordionItems}),backgroundColor:r,spacing:a,border:i,fluidContent:n,height:s});import{jsx as Be}from"react/jsx-runtime";var ho=e=>{switch(e.slotName){case"accordionContent":return{component:()=>Be("div",{className:"h-20"})};case"accordionItems":return{component:()=>Be("div",{className:"h-28"})};default:return l}};var Ie=(t=>(t.AccordionContent="accordionContent",t.AccordionItems="accordionItems",t))(Ie||{});import{UniformSlot as Se}from"@uniformdev/canvas-next-rsc/component";import{jsx as bo}from"react/jsx-runtime";var Ro=e=>{switch(e.slotName){case"cardMedia":return{component:()=>null};case"cardContent":return{component:()=>bo("div",{className:"h-20"})};default:return l}};var Ve=(o=>(o.BackgroundImage="backgroundImage",o))(Ve||{}),Le=(t=>(t.CardMedia="cardMedia",t.CardContent="cardContent",t))(Le||{});import{jsx as k,jsxs as To}from"react/jsx-runtime";var No=({component:e,context:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,height:s,className:m,contentClassName:d})=>{let f=e.variant==="backgroundImage";return To(c,{className:p("relative overflow-hidden",m),backgroundColor:r,spacing:a,border:i,fluidContent:n,height:s,children:[k("div",{className:p({"inset-0 size-full absolute":f}),children:k(Se,{data:e,context:o,slot:t.cardMedia})}),k("div",{className:p("relative flex flex-col gap-y-2",d),children:k(Se,{data:e,context:o,slot:t.cardContent})})]})};import Eo from"next/dynamic";import{jsx as wo}from"react/jsx-runtime";var Fo=e=>{switch(e.slotName){case"carouselItems":return{component:()=>wo("div",{className:"mx-20 h-20 w-full"})};default:return l}};var De=(o=>(o.Items="carouselItems",o))(De||{}),Lr=Eo(()=>import("./carousel-YELQRJVB.mjs").then(e=>e.Carousel));import{UniformSlot as qe}from"@uniformdev/canvas-next-rsc/component";import{imageFrom as Ho}from"@uniformdev/assets";import{UniformText as Oe}from"@uniformdev/canvas-next-rsc/component";import{jsx as g}from"react/jsx-runtime";var M=({component:e,context:o,parameterId:t,text:r,...a})=>{let i=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!i?null:g(Te,{...a,children:g(Oe,{placeholder:"Text goes here",parameterId:t,as:a.tag||void 0,component:e,context:o})})},ke=({component:e,context:o,parameterId:t,text:r,...a})=>{let{link:i,icon:n}=a,s=Re(i),m=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!s&&!m?null:g(Ne,{...a,href:s,icon:g(()=>{let[f]=Q(n),{url:u,title:h=""}=f||{};return u?g(Z,{src:u,alt:h,width:20,height:20,containerStyle:{width:"20px",height:"20px"}}):void 0},{}),children:g(Oe,{placeholder:"Button text goes here",parameterId:t,component:e,context:o})})},Me=({component:e,context:o,image:t,objectFit:r,width:a,height:i,overlayColor:n,contrastBaseColor:s,overlayOpacity:m,border:d,priority:f,unoptimized:u,fill:h})=>{let[C]=Q(t);if(!C){let X=o.previewMode==="editor"&&o.isContextualEditing,J=e?._id?.includes("placeholder_");return!X||J||!e.variant?null:g("div",{style:{width:a?`${a}px`:"auto",height:i?`${i}px`:"auto"},children:g(Fe,{type:"image",placeholder:"Please add an asset to display an image"})})}let{focalPoint:$,title:V=""}=C,S=a||C.width,D=i||C.height;if(!h&&(!S||!D))return console.warn("No dimensions provided for the Next.js Image component. Falling back to a standard <img> tag for rendering."),g("img",{src:C.url,alt:V});let q=Ho(C?.url).transform({width:a,height:i,fit:r,focal:$}).url();return g(Z,{src:q,alt:V,unoptimized:u,priority:f,sizes:"100%",style:{objectFit:r},overlayColor:n,contrastBaseColor:s,overlayOpacity:m,border:d,...h?{fill:!0}:{width:S,height:D}})};import{jsx as T,jsxs as _e}from"react/jsx-runtime";var Ue=({backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,variant:i,demoHeroMedia:n,demoHeroContent:s,demoHeroCTA:m,textAlignmentClass:d,buttonAlignmentClass:f})=>T(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,children:_e("div",{className:p("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[T("div",{className:p("aspect-square",{"order-last":i==="columnsReverse"}),children:T("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),_e("div",{className:"flex flex-col justify-center gap-8",children:[T("div",{className:p("flex flex-col gap-4",d),children:s}),T("div",{className:p("flex flex-wrap gap-2 items-center",f),children:m})]})]})});import{jsx as te,jsxs as ze}from"react/jsx-runtime";var We=({backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,demoHeroMedia:i,demoHeroContent:n,demoHeroCTA:s,textAlignmentClass:m,buttonAlignmentClass:d})=>ze(c,{className:"relative overflow-hidden",backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,children:[te("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:i}),ze(c,{className:"relative flex flex-col gap-8",children:[te("div",{className:p("flex flex-col gap-4",m),children:n}),te("div",{className:p("flex flex-wrap gap-2 items-center",d),children:s})]})]});var Ke=({contentAlignment:e})=>p("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),Ye=({contentAlignment:e})=>p("text-center",{"text-start":e==="left","text-end":e==="right"});var R=(e,o)=>Object.entries(e).reduce((t,[r,a])=>{if(r.startsWith(o)){let i=r.slice(o.length).replace(/^./,n=>n.toLowerCase());return{...t,[i]:a}}return{...t,[r]:a}},{});var $e=e=>{let o=e?608:void 0;return{imageFill:!e,...o?{imageWidth:o,imageHeight:o}:{}}};import{Fragment as oe,jsx as P,jsxs as Ao}from"react/jsx-runtime";var _=({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:s,eyebrowTitleDecoration:m,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f,titleText:u,titleTag:h,titleSize:C,titleColor:$,titleWeight:V,titleFont:S,titleAlignment:D,titleTransform:q,titleDecoration:ge,titleLetterSpacing:X,titleLineCountRestrictions:J,descriptionText:Ht,descriptionTag:At,descriptionSize:Bt,descriptionColor:It,descriptionWeight:Lt,descriptionFont:Vt,descriptionAlignment:St,descriptionTransform:Dt,descriptionDecoration:Ot,descriptionLetterSpacing:kt,descriptionLineCountRestrictions:Mt,primaryButtonVariant:_t,primaryButtonText:Ut,primaryButtonLink:zt,primaryButtonTextColor:Wt,primaryButtonTextWeight:Kt,primaryButtonTextFont:Yt,primaryButtonTextTransform:Gt,primaryButtonButtonColor:$t,primaryButtonBorder:qt,primaryButtonSize:Xt,primaryButtonIcon:Jt,primaryButtonTextSize:Qt,primaryButtonIconPosition:Zt,primaryButtonHoverButtonColor:jt,primaryButtonHoverTextColor:eo,image:to,imageWidth:oo,imageHeight:ro,imageObjectFit:ao,imageOverlayColor:io,imageContrastBaseColor:no,imageOverlayOpacity:so,imageBorder:mo,imagePriority:lo,imageUnoptimized:po,imageFill:co,contentAlignment:Ce,backgroundColor:fo,spacing:Po,border:uo,fluidContent:go,height:Co,isFlexibleHero:xe=!1,component:x,context:v,slots:ve})=>{let ye=x.variant,xo=xe?P(qe,{data:x,context:v,slot:ve.flexibleHeroContent}):Ao(oe,{children:[P(M,{...R({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:s,eyebrowTitleDecoration:m,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f},"eyebrowTitle"),component:x,context:v,parameterId:"eyebrowTitleText"}),P(M,{...R({titleText:u,titleTag:h,titleSize:C,titleColor:$,titleWeight:V,titleFont:S,titleAlignment:D,titleTransform:q,titleDecoration:ge,titleLetterSpacing:X,titleLineCountRestrictions:J},"title"),component:x,context:v,parameterId:"titleText"}),P(M,{...R({descriptionText:Ht,descriptionTag:At,descriptionSize:Bt,descriptionColor:It,descriptionWeight:Lt,descriptionFont:Vt,descriptionAlignment:St,descriptionTransform:Dt,descriptionDecoration:Ot,descriptionLetterSpacing:kt,descriptionLineCountRestrictions:Mt},"description"),component:x,context:v,parameterId:"descriptionText"})]}),vo=xe?P(qe,{data:x,context:v,slot:ve.flexibleHeroCta}):P(oe,{children:P(ke,{...R({primaryButtonVariant:_t,primaryButtonText:Ut,primaryButtonLink:zt,primaryButtonTextColor:Wt,primaryButtonTextWeight:Kt,primaryButtonTextFont:Yt,primaryButtonTextTransform:Gt,primaryButtonButtonColor:$t,primaryButtonBorder:qt,primaryButtonSize:Xt,primaryButtonIcon:Jt,primaryButtonTextSize:Qt,primaryButtonIconPosition:Zt,primaryButtonHoverButtonColor:jt,primaryButtonHoverTextColor:eo},"primaryButton"),component:x,context:v,parameterId:"primaryButtonText"})}),he={variant:ye,backgroundColor:fo,spacing:Po,border:uo,fluidContent:go,height:Co,textAlignmentClass:Ye({contentAlignment:Ce}),buttonAlignmentClass:Ke({contentAlignment:Ce}),demoHeroMedia:P(oe,{children:P(Me,{image:to,...R({imageWidth:oo,imageHeight:ro,imageObjectFit:ao,imageOverlayColor:io,imageContrastBaseColor:no,imageOverlayOpacity:so,imageBorder:mo,imagePriority:lo,imageUnoptimized:po,imageFill:co},"image"),component:x,context:v})}),demoHeroContent:xo,demoHeroCTA:vo};switch(ye){case"columns":case"columnsReverse":return P(Ue,{...he});default:return P(We,{...he})}};import{jsx as Bo}from"react/jsx-runtime";var Xe=({textColor:e,overlayAutoTint:o,...t})=>Bo(_,{...t,eyebrowTitleTag:"span",eyebrowTitleSize:{mobile:"xs",tablet:"lg",desktop:"xl"},eyebrowTitleWeight:"bold",eyebrowTitleTransform:"uppercase",eyebrowTitleColor:e||t.eyebrowTitleColor,titleSize:{mobile:"3xl",tablet:"4xl",desktop:"4xl"},titleWeight:"bold",titleColor:e||t.titleColor,descriptionTag:"p",descriptionSize:{mobile:"sm",tablet:"lg",desktop:"xl"},descriptionWeight:"normal",descriptionColor:e||t.descriptionColor,primaryButtonSize:"button-medium",primaryButtonTextSize:"sm",primaryButtonTextColor:"text-secondary",primaryButtonTextWeight:"normal",primaryButtonButtonColor:"button-primary",primaryButtonTextTransform:"uppercase",primaryButtonHoverButtonColor:"button-primary-hover",imagePriority:!0,imageObjectFit:"cover",imageUnoptimized:!0,imageContrastBaseColor:!t.component.variant&&o?e:void 0,imageOverlayOpacity:o,...$e(!!t.component.variant),spacing:{paddingTop:"container-xlarge",paddingLeft:"container-small",paddingRight:"container-small",paddingBottom:"container-xlarge"},fluidContent:!t.component.variant,isFlexibleHero:!1});import{jsx as Io}from"react/jsx-runtime";var Je=e=>Io(_,{...e,isFlexibleHero:!0});import{jsx as Qe}from"react/jsx-runtime";var Lo=e=>{switch(e.slotName){case"flexibleHeroContent":return{component:()=>Qe("div",{className:"h-20"})};case"flexibleHeroCta":return{component:()=>Qe("div",{className:"mx-40 h-20 w-full"})};default:return l}};var Ge=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(Ge||{}),ee=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(ee||{}),Ze=(t=>(t.FlexibleHeroContent="flexibleHeroContent",t.FlexibleHeroCta="flexibleHeroCta",t))(Ze||{}),Vo={FixedHero:Xe,FlexibleHero:Je},La=Vo;import{UniformSlot as re}from"@uniformdev/canvas-next-rsc/component";import{jsx as U}from"react/jsx-runtime";var je=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n})=>U(we,{logo:U(re,{context:e,slot:t.footerLogo,data:o}),copyright:U(re,{context:e,slot:t.footerCopyright,data:o}),content:U(re,{context:e,slot:t.footerContent,data:o}),backgroundColor:r,spacing:a,border:i,fluidContent:n});import{jsx as ae}from"react/jsx-runtime";var So=e=>{switch(e.slotName){case"footerLogo":return{component:()=>ae("div",{className:"h-20 w-48"})};case"footerCopyright":return{component:()=>ae("div",{className:"h-20 w-48"})};case"footerContent":return{component:()=>ae("div",{className:"h-20 w-48"})};default:return l}};var et=(r=>(r.FooterLogo="footerLogo",r.FooterCopyright="footerCopyright",r.FooterContent="footerContent",r))(et||{}),Ya=je;import{UniformSlot as ie}from"@uniformdev/canvas-next-rsc/component";import{jsx as z}from"react/jsx-runtime";var tt=({backgroundColor:e,color:o,spacing:t,border:r,context:a,component:i,slots:n})=>z(Ee,{sticky:i.variant==="sticky",leftSection:z(ie,{context:a,slot:n.headerLeftContent,data:i}),rightSection:z(ie,{context:a,slot:n.headerRightContent,data:i}),backgroundColor:e,color:o,spacing:t,border:r,children:z(ie,{context:a,slot:n.headerCenterContent,data:i})});import{jsx as ne}from"react/jsx-runtime";var Do=e=>{switch(e.slotName){case"headerLeftContent":return{component:()=>ne("div",{className:"h-20 w-48"})};case"headerCenterContent":return{component:()=>ne("div",{className:"h-20 w-full"})};case"headerRightContent":return{component:()=>ne("div",{className:"h-20 w-48"})};default:return l}};var rt=(r=>(r.HeaderLeftContent="headerLeftContent",r.HeaderCenterContent="headerCenterContent",r.HeaderRightContent="headerRightContent",r))(rt||{}),ot=(o=>(o.Sticky="sticky",o))(ot||{}),ii=tt;import Mo from"next/dynamic";import{jsx as ko}from"react/jsx-runtime";var Oo=e=>{switch(e.slotName){case"imageGalleryItems":return{component:()=>ko("div",{className:" mx-auto size-48"})};default:return l}};var at=(o=>(o.Items="imageGalleryItems",o))(at||{}),fi=Mo(()=>import("./image-gallery-AMU6FS7N.mjs").then(e=>e.ImageGallery));import Uo from"next/dynamic";import{jsx as it}from"react/jsx-runtime";var _o=e=>{switch(e.slotName){case"navigationFlyoutLeftContent":return{component:()=>it("div",{className:"h-40 w-48"})};case"navigationFlyoutRightContent":return{component:()=>it("div",{className:"h-40 w-48"})};default:return l}};var Ri=Uo(()=>import("./navigation-flyout-NAU6O2WG.mjs").then(e=>e.NavigationFlyout));import Ko from"next/dynamic";import{jsx as Wo}from"react/jsx-runtime";var zo=e=>{switch(e.slotName){case"links":return{component:()=>Wo("div",{className:"h-40 w-48"})};default:return l}};var Bi=Ko(()=>import("./navigation-group-QA65N6AI.mjs").then(e=>e.NavigationGroup));import{UniformSlot as se}from"@uniformdev/canvas-next-rsc/component";import{jsx as W}from"react/jsx-runtime";var Yo=({slots:e,component:o,context:t,backgroundColor:r,headerCustomRenderer:a,contentCustomRenderer:i,footerCustomRenderer:n})=>W(He,{backgroundColor:r,header:W(se,{context:t,slot:e.pageHeader,data:o,children:a}),footer:W(se,{context:t,slot:e.pageFooter,data:o,children:n}),children:W(se,{context:t,slot:e.pageContent,data:o,children:i})});import{jsx as me}from"react/jsx-runtime";var Go=e=>{switch(e.slotName){case"pageHeader":return{component:()=>me("div",{className:"h-40"})};case"pageContent":return{component:()=>me("div",{className:"h-[calc(100vh-10rem*2)]"})};case"pageFooter":return{component:()=>me("div",{className:"h-40"})};default:return l}};var nt=(r=>(r.PageContent="pageContent",r.PageHeader="pageHeader",r.PageFooter="pageFooter",r))(nt||{});import{UniformSlot as pe}from"@uniformdev/canvas-next-rsc/component";import{jsx as F}from"react/jsx-runtime";var $o=({parentComponent:e,slotName:o})=>{let t=e?.variant==="multiColumn";switch(o){case"reviewImage":return{component:()=>t?F("div",{className:"size-full"}):null};case"reviewPersonInfo":return{component:()=>t?F("div",{className:"h-20 w-full"}):F("div",{className:"h-20 w-52"})};case"reviewContent":return{component:()=>t?F("div",{className:"h-20 w-full"}):F("div",{className:"h-20 w-52"})};default:return l}};var le=(o=>(o.MultiColumn="multiColumn",o))(le||{}),st=(r=>(r.ReviewImage="reviewImage",r.ReviewPersonInfo="reviewPersonInfo",r.ReviewContent="reviewContent",r))(st||{});import{jsx as w,jsxs as mt}from"react/jsx-runtime";var lt=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:u})=>w(c,{backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,children:mt("div",{className:"mx-auto flex lg:max-w-[60%]",children:[w("div",{className:"aspect-square size-12 shrink-0 rounded-full",children:d}),mt("div",{className:"ml-6",children:[f,w("div",{className:"py-4",children:w(O,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),w("div",{className:"flex flex-col gap-y-5",children:u})]})]})});import{jsx as b,jsxs as pt}from"react/jsx-runtime";var dt=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:u})=>b(c,{backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,children:pt("div",{className:"grid md:grid-cols-12",children:[pt("div",{className:"mb-2 md:col-span-4 md:my-0",children:[b("div",{className:"mb-2 aspect-square size-12 rounded-full",children:d}),b("div",{className:"flex flex-col gap-y-1",children:f})]}),b("div",{className:"my-2 md:col-span-4 md:my-0",children:b(O,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),b("div",{className:"mt-2 flex flex-col gap-y-3 md:col-span-4 md:my-0",children:u})]})});import{jsx as E}from"react/jsx-runtime";var qo=e=>{let{component:o,context:t,slots:r}=e,a=o.variant,i={...e,ReviewImage:E(pe,{context:t,data:o,slot:r.reviewImage}),ReviewPersonInfo:E(pe,{context:t,data:o,slot:r.reviewPersonInfo}),ReviewContent:E(pe,{context:t,data:o,slot:r.reviewContent})};switch(a){case"multiColumn":return E(dt,{...i});default:return E(lt,{...i})}};import{UniformSlot as Pe}from"@uniformdev/canvas-next-rsc/component";import{jsx as de}from"react/jsx-runtime";var Xo=({parentComponent:e,slotName:o})=>{let t=!e?.variant;switch(o){case"sectionMedia":return{component:()=>t?null:de("div",{className:"size-full"})};case"sectionContent":return{component:()=>de("div",{className:"h-20"})};case"sectionCTA":return{component:()=>de("div",{className:"mx-40 h-20 w-full"})};default:return l}};var ft=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(ft||{}),ce=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(ce||{}),ct=(r=>(r.SectionContent="sectionContent",r.SectionMedia="sectionMedia",r.SectionCTA="sectionCTA",r))(ct||{});import{jsx as H,jsxs as Pt}from"react/jsx-runtime";var ut=({backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,variant:i,sectionMedia:n,sectionContent:s,sectionCTA:m,textAlignmentClass:d,buttonAlignmentClass:f})=>H(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,children:Pt("div",{className:p("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[H("div",{className:p("aspect-square",{"order-last":i==="columnsReverse"}),children:H("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),Pt("div",{className:"flex flex-col justify-center gap-8",children:[H("div",{className:p("flex flex-col gap-4",d),children:s}),H("div",{className:p("flex flex-wrap gap-2",f),children:m})]})]})});import{jsx as fe,jsxs as gt}from"react/jsx-runtime";var Ct=({backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,sectionMedia:i,sectionContent:n,sectionCTA:s,textAlignmentClass:m,buttonAlignmentClass:d})=>gt(c,{className:"relative overflow-hidden",backgroundColor:e,spacing:o,border:t,fluidContent:r,height:a,children:[fe("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:i}),gt(c,{className:"relative flex flex-col gap-8",children:[fe("div",{className:p("flex flex-col gap-4",m),children:n}),fe("div",{className:p("flex flex-wrap gap-2",d),children:s})]})]});var xt=({contentAlignment:e})=>p("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),vt=({contentAlignment:e})=>p("text-center",{"text-start":e==="left","text-end":e==="right"});import{jsx as A}from"react/jsx-runtime";var Jo=({contentAlignment:e,slots:o,component:t,context:r,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m})=>{let d=t.variant,f={variant:d,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,textAlignmentClass:vt({contentAlignment:e}),buttonAlignmentClass:xt({contentAlignment:e}),sectionMedia:A(Pe,{data:t,context:r,slot:o.sectionMedia}),sectionContent:A(Pe,{data:t,context:r,slot:o.sectionContent}),sectionCTA:A(Pe,{data:t,context:r,slot:o.sectionCTA})};switch(d){case"columns":case"columnsReverse":return A(ut,{...f});default:return A(Ct,{...f})}};import{UniformSlot as ht}from"@uniformdev/canvas-next-rsc/component";var yt=({size:e,textColor:o})=>p("text-left w-full [&_tr:not(:last-child)_td]:border-b [&_th]:border-b",{[`text-${o}`]:o,[`[&_td]:p-${e} [&_th]:p-${e}`]:e});import{jsx as N,jsxs as Zo}from"react/jsx-runtime";var Qo=({size:e,textColor:o,slots:t,component:r,context:a,backgroundColor:i,spacing:n,border:s,fluidContent:m,height:d})=>N(c,{className:"flex flex-col gap-5",backgroundColor:i,spacing:n,border:s,fluidContent:m,height:d,children:N("div",{className:"overflow-x-auto",children:Zo("table",{className:yt({size:e,textColor:o}),children:[N("thead",{children:N(ht,{slot:t.tableHead,context:a,data:r})}),N("tbody",{children:N(ht,{slot:t.tableBody,context:a,data:r})})]})})});import{jsx as Rt}from"react/jsx-runtime";var jo=e=>{switch(e.slotName){case"tableHead":return{component:()=>Rt("tr",{className:"h-20"})};case"tableBody":return{component:()=>Rt("tr",{className:"h-40"})};default:return l}};var bt=(t=>(t.TableHead="tableHead",t.TableBody="tableBody",t))(bt||{});import{UniformSlot as G}from"@uniformdev/canvas-next-rsc/component";import{jsx as K}from"react/jsx-runtime";var er=({slotName:e})=>{switch(e){case"testimonialSecondaryImage":return{component:()=>K("div",{className:"h-20 w-64"})};case"testimonialContent":return{component:()=>K("div",{className:"h-20 w-64"})};case"testimonialPrimaryImage":return{component:()=>K("div",{className:"size-full"})};case"testimonialAuthor":return{component:()=>K("div",{className:"h-20 w-64"})};default:return l}};var Tt=(t=>(t.WithLargeAvatar="withLargeAvatar",t.WithOverlappingImage="withOverlappingImage",t))(Tt||{}),Nt=(a=>(a.TestimonialSecondaryImage="testimonialSecondaryImage",a.TestimonialContent="testimonialContent",a.TestimonialPrimaryImage="testimonialPrimaryImage",a.TestimonialAuthor="testimonialAuthor",a))(Nt||{});import{jsx as B,jsxs as or}from"react/jsx-runtime";var Ft=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m})=>B(c,{backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,children:or("div",{className:"mx-auto flex flex-col items-center md:max-w-[80%]",children:[B("div",{children:r}),B("div",{className:"my-8",children:o}),B("div",{className:"size-10 rounded-full",children:e}),B("div",{className:"mt-4 flex gap-3",children:t})]})});import{jsx as I,jsxs as Y}from"react/jsx-runtime";var wt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m})=>I(c,{backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,children:Y("div",{className:"mx-auto flex items-center gap-x-10 md:max-w-[80%]",children:[I("div",{className:"hidden aspect-square w-full max-w-xs shrink-0 overflow-hidden rounded-xl lg:block",children:e}),Y("div",{className:"flex flex-col gap-y-8",children:[I("div",{className:"",children:o}),Y("div",{className:"flex items-center justify-between",children:[Y("div",{className:"flex items-center gap-x-4",children:[I("div",{className:"block aspect-square w-10 overflow-hidden rounded-md lg:hidden",children:e}),I("div",{className:"gap-3",children:t})]}),r]})]})]})});import{jsx as L,jsxs as ue}from"react/jsx-runtime";var Et=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m})=>L(c,{backgroundColor:a,spacing:i,border:n,fluidContent:s,height:m,children:L(c,{className:"pb-10 lg:pb-0",children:ue("div",{className:"mx-auto flex max-w-2xl flex-col items-center gap-10 lg:max-w-none lg:flex-row",children:[L("div",{className:"-mt-7 aspect-[2/1] w-full shrink-0 overflow-hidden rounded-xl lg:-my-7 lg:aspect-[1/1.4] lg:max-w-xs",children:e}),ue("div",{className:"flex flex-col gap-y-8",children:[L("div",{className:"",children:o}),ue("div",{className:"flex items-center justify-between",children:[L("div",{className:"gap-3",children:t}),r]})]})]})})});import{jsx as y}from"react/jsx-runtime";var tr=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,height:s})=>{let m=o.variant,d={backgroundColor:r,spacing:a,border:i,fluidContent:n,height:s,testimonialPrimaryImage:y(G,{context:e,data:o,slot:t.testimonialPrimaryImage}),testimonialContent:y(G,{context:e,data:o,slot:t.testimonialContent}),testimonialAuthor:y(G,{context:e,data:o,slot:t.testimonialAuthor}),testimonialSecondaryImage:y(G,{context:e,data:o,slot:t.testimonialSecondaryImage})};switch(m){case"withLargeAvatar":return y(wt,{...d});case"withOverlappingImage":return y(Et,{...d});default:return y(Ft,{...d})}};export{yo as a,Ie as b,ho as c,No as d,Ve as e,Le as f,Ro as g,De as h,Lr as i,Fo as j,Ge as k,ee as l,Ze as m,La as n,Lo as o,et as p,Ya as q,So as r,rt as s,ot as t,ii as u,Do as v,at as w,fi as x,Oo as y,Ri as z,_o as A,Bi as B,zo as C,Yo as D,nt as E,Go as F,qo as G,le as H,st as I,$o as J,Jo as K,ft as L,ce as M,ct as N,Xo as O,Qo as P,bt as Q,jo as R,tr as S,Tt as T,Nt as U,er as V};
@@ -0,0 +1 @@
1
+ import t from"next/dynamic";var r=t(()=>import("./accordion-item-QAVKQEB2.mjs").then(o=>o.AccordionItem));export{r as a};
@@ -0,0 +1 @@
1
+ import{a as x}from"./chunk-WAW7PQYM.mjs";import{c as g}from"./chunk-S7CSCIW4.mjs";import{jsx as h,jsxs as y}from"react/jsx-runtime";var N=({icon:e,size:t,tag:r,color:s,weight:o,font:a,transform:c,decoration:i,letterSpacing:d,alignment:f,children:p,textClassName:n,iconClassName:l,className:m})=>y("div",{className:g("flex w-fit items-center gap-x-3",{[`text-${t}`]:!!t,[`text-${s}`]:!!s},m),children:[e&&h("div",{className:g("relative size-[1em]",l),children:e}),h(x,{alignment:f,tag:r,color:s,size:t,font:a,weight:o,transform:c,decoration:i,letterSpacing:d,className:n,children:p})]});var v=e=>e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/\son\w+="[^"]*"/gi,"").replace(/\son\w+='[^']*'/gi,"").replace(/javascript:/gi,""),S=e=>e.replace(/fill=(['"])(?!none|transparent)[^'"]*\1/gi,'fill="currentColor"').replace(/stroke=(['"])(?!none|transparent)[^'"]*\1/gi,'stroke="currentColor"').replace(/color=(['"])[^'"]*\1/gi,'color="currentColor"'),b=e=>{let t=e.match(/<svg\s+([^>]*)>/i);if(!t||!t[1])return{};let r=t[1],s={},o=/(\w[\w-]*)=["']([^"']*)["']/g,a;for(;a=o.exec(r);){let[,c,i]=a;c&&i&&(s[c]=i)}return s},w=e=>e.match(/<svg[^>]*>([\s\S]*?)<\/svg>/i)?.[1]??"",C=async e=>{try{let t=await fetch(e,{headers:{Accept:"image/svg+xml, text/plain, */*"}});if(!t.ok)throw new Error(`Failed to fetch SVG: ${t.status} ${t.statusText}`);let r=await t.text();if(!r.trim().includes("<svg"))throw new Error("Response is not valid SVG");return r}catch(t){throw console.error("Error fetching SVG:",t),t}};import{jsx as u}from"react/jsx-runtime";var G=async({src:e,className:t="",width:r,height:s,fill:o,sanitize:a=!0,useCurrentColor:c=!0,fallback:i,alt:d})=>{if(!e)return i??null;let f=p=>{let n=[];return a&&n.push(v),c&&n.push(S),n.reduce((l,m)=>m(l),p)};try{let p=await C(e),n=f(p),l=b(n),m=w(n),P={...l,role:"img","aria-label":d,width:o?"100%":r,height:o?"100%":s,className:g(l.className,t,{"absolute inset-0":o})};return u("div",{className:"relative size-full",children:u("svg",{...P,dangerouslySetInnerHTML:{__html:m}})})}catch{return i??u("div",{className:g(t),style:{width:r,height:s},children:u("div",{className:"rounded border border-red-200 bg-red-50 p-2 text-sm text-red-500",children:"Failed to load SVG"})})}};export{N as a,G as b};
@@ -0,0 +1 @@
1
+ import{a as p}from"./chunk-7GVG4HLE.mjs";import{a as r,c as s}from"./chunk-S7CSCIW4.mjs";import{jsx as l}from"react/jsx-runtime";var f=({className:a,columnsCount:t,gapX:o,gapY:i,backgroundColor:e,spacing:n,border:d,fluidContent:g,height:m,children:P})=>l(p,{backgroundColor:e,spacing:n,border:d,fluidContent:g,height:m,children:l("div",{className:s("grid",{[r(t,"grid-cols-{value}")]:t,[r(o,"gap-x-{value}")]:o,[r(i,"gap-y-{value}")]:i,[r(m,"h-{value}")]:m},a),children:P})});import{jsx as c}from"react/jsx-runtime";var v=({className:a,columnStart:t,columnSpan:o,rowStart:i,rowSpan:e,children:n})=>c("div",{className:s({[r(t,"col-start-{value}")]:t,[r(o,"col-{value}")]:o,[r(i,"row-start-{value}")]:i,[r(e,"row-{value}")]:e},a),children:n});export{f as a,v as b};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-MSXDLSXH.mjs";import s from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var p=e=>{switch(e.slotName){case"tabItems":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var l=(o=>(o.Default="default",o.Bordered="bordered",o))(l||{}),t=(m=>(m.TabItems="tabItems",m))(t||{}),c=s(()=>import("./tabs-AQFKYC6M.mjs").then(e=>e.Tabs));export{l as a,t as b,c,p as d};
1
+ import{a as r}from"./chunk-MSXDLSXH.mjs";import s from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var p=e=>{switch(e.slotName){case"tabItems":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var l=(o=>(o.Default="default",o.Bordered="bordered",o))(l||{}),t=(m=>(m.TabItems="tabItems",m))(t||{}),c=s(()=>import("./tabs-J23TEEQ7.mjs").then(e=>e.Tabs));export{l as a,t as b,c,p as d};
@@ -0,0 +1 @@
1
+ import{a as e,c as r}from"./chunk-S7CSCIW4.mjs";import{jsx as x}from"react/jsx-runtime";var P=({className:u,size:s,color:o,weight:n,font:i,transform:a="",decoration:p="",letterSpacing:l,alignment:m,children:t,lineCountRestrictions:c})=>{let g=r({[`text-${o}`]:!!o,[`font-${i}`]:!!i,[e(s,"text-{value}")]:s,[`font-${n}`]:!!n,[`text-${m}`]:!!m,[a]:!!a,[p]:!!p,[`tracking-${l}`]:!!l,[e(c,"line-clamp-{value}")]:c},u);if(typeof t=="string")return x("span",{className:g,children:t});let f=t.props||{};return x(t.type,{...f,className:r(g,f?.className)})};export{P as a};
@@ -1 +1 @@
1
- import{A as y,C as n,F as P,J as h,O as E,R as f,V as g,c as e,g as m,j as l,o as a,r as p,v as i,y as c}from"../../chunk-TIRCISSU.mjs";import{d}from"../../chunk-2SEOCBRK.mjs";import{d as s}from"../../chunk-FPOIJMYT.mjs";import"../../chunk-4LWAGTFW.mjs";import"../../chunk-6TUDWIYU.mjs";import"../../chunk-QHIWJPL6.mjs";import{d as r}from"../../chunk-LA36HQWS.mjs";import{d as t}from"../../chunk-2UV7TQNF.mjs";import"../../chunk-Z7JSWSPD.mjs";import"../../chunk-BK7UG4U4.mjs";import"../../chunk-YUCUJWBO.mjs";import"../../chunk-3PDY7RJC.mjs";import"../../chunk-2YTACEBA.mjs";import{b as o}from"../../chunk-MSXDLSXH.mjs";import"../../chunk-RX4IAAQQ.mjs";import"../../chunk-S7CSCIW4.mjs";import"../../chunk-YEKQJ4YC.mjs";var u={accordion:e,banner:r,card:m,carousel:l,countdown:t,flexibleHero:a,footer:p,header:i,imageGallery:c,modal:d,navigationFlyout:y,navigationGroup:n,page:P,review:h,section:E,table:f,tabs:s,testimonial:g},K=u,L=o(u);export{K as default,L as emptyPlaceholderResolver};
1
+ import{A as y,C as n,F as P,J as h,O as E,R as f,V as g,c as e,g as m,j as l,o as a,r as p,v as i,y as c}from"../../chunk-LG7MD2DH.mjs";import{d}from"../../chunk-2SEOCBRK.mjs";import{d as s}from"../../chunk-VW2XC3SE.mjs";import"../../chunk-EOV2LPGC.mjs";import"../../chunk-6TUDWIYU.mjs";import"../../chunk-WAW7PQYM.mjs";import{d as r}from"../../chunk-B2O55EVA.mjs";import{d as t}from"../../chunk-2UV7TQNF.mjs";import"../../chunk-TCQTXNKT.mjs";import"../../chunk-BK7UG4U4.mjs";import"../../chunk-7GVG4HLE.mjs";import"../../chunk-3PDY7RJC.mjs";import"../../chunk-2YTACEBA.mjs";import{b as o}from"../../chunk-MSXDLSXH.mjs";import"../../chunk-RX4IAAQQ.mjs";import"../../chunk-S7CSCIW4.mjs";import"../../chunk-YEKQJ4YC.mjs";var u={accordion:e,banner:r,card:m,carousel:l,countdown:t,flexibleHero:a,footer:p,header:i,imageGallery:c,modal:d,navigationFlyout:y,navigationGroup:n,page:P,review:h,section:E,table:f,tabs:s,testimonial:g},K=u,L=o(u);export{K as default,L as emptyPlaceholderResolver};
@@ -7,8 +7,7 @@ import { ComponentMapping } from '../../utils/createComponentResolver.mjs';
7
7
  import { SpaceType, ViewPort } from '../../types/cskTypes.mjs';
8
8
  import * as react from 'react';
9
9
  import { FC } from 'react';
10
- import { T as TextProps$1, B as ButtonProps$1, a as ButtonVariant, F as FooterProps$1, H as HeaderProps$1 } from '../../index-B9eeSbLG.mjs';
11
- import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
10
+ import { T as TextProps$1, B as ButtonProps$1, a as ButtonVariant, F as FooterProps$1, H as HeaderProps$1 } from '../../index-D5cLtaIv.mjs';
12
11
  import { AssetParamValue } from '@uniformdev/assets';
13
12
  import { RichTextNode } from '@uniformdev/richtext';
14
13
 
@@ -20,10 +19,6 @@ type ContainerParameters = {
20
19
  spacing?: SpaceType | ViewPort<SpaceType>;
21
20
  border?: string | ViewPort<string>;
22
21
  fluidContent?: boolean;
23
- /** @deprecated Use height prop instead */
24
- fullHeight?: boolean;
25
- /** @deprecated Use height prop instead */
26
- fitHeight?: boolean;
27
22
  height?: HeightType | ViewPort<HeightType>;
28
23
  };
29
24
 
@@ -105,7 +100,7 @@ type ButtonParameters = {
105
100
  text?: string;
106
101
  link?: LinkParamValue;
107
102
  textColor?: string;
108
- textWeight?: keyof DefaultTheme['fontWeight'];
103
+ textWeight?: string;
109
104
  textFont?: 'uppercase' | 'lowercase' | 'capitalize' | 'normal-case';
110
105
  textTransform?: string;
111
106
  buttonColor?: string;
@@ -192,7 +187,7 @@ type BaseButtonParameters = {
192
187
  text?: string;
193
188
  link?: LinkParamValue;
194
189
  textColor?: string;
195
- textWeight?: keyof DefaultTheme['fontWeight'];
190
+ textWeight?: string;
196
191
  textFont?: 'uppercase' | 'lowercase' | 'capitalize' | 'normal-case';
197
192
  textTransform?: string;
198
193
  buttonColor?: string;
@@ -216,6 +211,7 @@ type BaseImageParameters = {
216
211
  border?: string | ViewPort<string>;
217
212
  priority?: boolean;
218
213
  unoptimized?: boolean;
214
+ fill?: boolean;
219
215
  };
220
216
  type EyebrowTitleTextParameters = PrefixedKeys<TextParameters, 'eyebrowTitle'>;
221
217
  type TitleTextParameters = PrefixedKeys<TextParameters, 'title'>;
@@ -227,18 +223,11 @@ type SecondaryButtonParameters = PrefixedKeys<BaseButtonParameters, 'secondaryBu
227
223
  secondaryButtonVariant?: ButtonVariant;
228
224
  };
229
225
  type ImageParameters$1 = PrefixedKeys<Omit<BaseImageParameters, 'image'>, 'image'> & Pick<BaseImageParameters, 'image'>;
230
- /**
231
- * @deprecated Use FixedHeroParameters or FlexibleHeroParameters directly instead.
232
- */
233
226
  type DemoHeroParameters = ContainerParameters & {
234
227
  contentAlignment?: ContentAlignment$1;
235
228
  } & EyebrowTitleTextParameters & TitleTextParameters & DescriptionTextParameters & PrimaryButtonParameters & SecondaryButtonParameters & ImageParameters$1;
236
229
  type FixedHeroParameters = {
237
230
  textColor?: string;
238
- /**
239
- * @deprecated Use overlayAutoTint instead.
240
- */
241
- enableOverlayAutoTint?: boolean;
242
231
  overlayAutoTint?: string;
243
232
  } & DemoHeroParameters;
244
233
  type FlexibleHeroParameters = DemoHeroParameters;
@@ -250,10 +239,6 @@ declare enum FlexibleHeroSlots {
250
239
  FlexibleHeroContent = "flexibleHeroContent",
251
240
  FlexibleHeroCta = "flexibleHeroCta"
252
241
  }
253
- /**
254
- * @deprecated Use FixedHeroProps or FlexibleHeroProps directly instead.
255
- */
256
- type DemoHeroProps = FixedHeroProps | FlexibleHeroProps;
257
242
  type FixedHeroProps = ComponentProps<FixedHeroParameters>;
258
243
  type FlexibleHeroProps = ComponentProps<FlexibleHeroParameters, FlexibleHeroSlots>;
259
244
  declare const DemoHero: {
@@ -645,7 +630,6 @@ declare const Video: FC<VideoProps>;
645
630
 
646
631
  type VideoParameters = {
647
632
  video?: AssetParamValue;
648
- url?: LinkParamValue;
649
633
  placeholderImage?: AssetParamValue;
650
634
  autoPlay?: boolean;
651
635
  lazyLoad?: boolean;
@@ -666,4 +650,4 @@ declare const componentResolver: ({ component }: {
666
650
  component: ({ component }: _uniformdev_canvas_next_rsc_shared.ComponentProps) => React.JSX.Element | null;
667
651
  };
668
652
 
669
- export { Accordion, _default$9 as AccordionItem, type AccordionItemParameters, type AccordionItemProps, AccordionItemSlots, type AccordionParameters, type AccordionProps, AccordionSlots, Badge, type BadgeParameters, type BadgeProps, _default$8 as Banner, ContentAlignment$2 as BannerContentAlignment, type BannerParameters, type BannerProps, BannerSlots, Breadcrumbs, type BreadcrumbsParameters, type BreadcrumbsProps, Button, type ButtonParameters, type ButtonProps, Card, type CardParameters, type CardProps, CardSlots, CardVariants, _default$7 as Carousel, type CarouselParameters, type CarouselProps, CarouselSlots, CommonPageSlots, Container, type ContainerParameters, type ContainerProps, ContainerSlots, _default$6 as Countdown, type CountdownParameters, type CountdownProps, CountdownSlots, CountdownVariants, DemoHero, ContentAlignment$1 as DemoHeroContentAlignment, type DemoHeroParameters, type DemoHeroProps, DemoHeroVariants, Divider, type DividerParameters, type DividerProps, type FixedHeroParameters, type FixedHeroProps, Flex, FlexItem, type FlexItemParameters, type FlexItemProps, type FlexParameters, type FlexProps, type FlexibleHeroParameters, type FlexibleHeroProps, FlexibleHeroSlots, Footer, type FooterParameters, type FooterProps, FooterSlots, Grid, GridItem, type GridItemParameters, type GridItemProps, GridItemSlots, type GridParameters, type GridProps, GridSlots, Header, type HeaderParameters, type HeaderProps, HeaderSlots, HeaderVariants, IconLabel, type IconLabelParameters, type IconLabelProps, Image, _default$5 as ImageGallery, type ImageGalleryParameters, type ImageGalleryProps, ImageGallerySlots, type ImageParameters, type ImageProps, Link, type LinkParameters, type LinkProps, LinkSlots, _default$4 as Modal, type ModalParameters, type ModalProps, ModalSlots, _default$3 as NavigationFlyout, type NavigationFlyoutParameters, type NavigationFlyoutProps, _default$2 as NavigationGroup, type NavigationGroupParameters, type NavigationGroupProps, NavigationLink, type NavigationLinkParameters, type NavigationLinkProps, Page, type PageParameters, type PageProps, Review, type ReviewParameters, type ReviewProps, ReviewSlots, ReviewVariants, RichText, type RichTextParameters, type RichTextProps, Section, ContentAlignment as SectionContentAlignment, type SectionParameters, type SectionProps, SectionSlots, SectionVariants, Spacer, type SpacerParameters, type SpacerProps, SpacerVariants, Tab, type TabParameters, type TabProps, TabSlots, Table, TableCustomCell, type TableCustomCellParameters, type TableCustomCellProps, TableCustomCellSlots, TableDataCell, type TableDataCellParameters, type TableDataCellProps, TableHeaderCell, type TableHeaderCellParameters, type TableHeaderCellProps, type TableParameters, type TableProps, TableRow, type TableRowProps, TableSlots, _default$1 as Tabs, type TabsParameters, type TabsProps, TabsSlots, TabsVariants, Testimonial, type TestimonialParameters, type TestimonialProps, TestimonialSlots, TestimonialVariants, Text, type TextParameters, type TextProps, _default as ThemeSwitcher, type ThemeSwitcherParameters, type ThemeSwitcherProps, Video, type VideoParameters, type VideoProps, componentResolver, cskComponentsMapping, cskComponentsMapping as default };
653
+ export { Accordion, _default$9 as AccordionItem, type AccordionItemParameters, type AccordionItemProps, AccordionItemSlots, type AccordionParameters, type AccordionProps, AccordionSlots, Badge, type BadgeParameters, type BadgeProps, _default$8 as Banner, ContentAlignment$2 as BannerContentAlignment, type BannerParameters, type BannerProps, BannerSlots, Breadcrumbs, type BreadcrumbsParameters, type BreadcrumbsProps, Button, type ButtonParameters, type ButtonProps, Card, type CardParameters, type CardProps, CardSlots, CardVariants, _default$7 as Carousel, type CarouselParameters, type CarouselProps, CarouselSlots, CommonPageSlots, Container, type ContainerParameters, type ContainerProps, ContainerSlots, _default$6 as Countdown, type CountdownParameters, type CountdownProps, CountdownSlots, CountdownVariants, DemoHero, ContentAlignment$1 as DemoHeroContentAlignment, DemoHeroVariants, Divider, type DividerParameters, type DividerProps, type FixedHeroParameters, type FixedHeroProps, Flex, FlexItem, type FlexItemParameters, type FlexItemProps, type FlexParameters, type FlexProps, type FlexibleHeroParameters, type FlexibleHeroProps, FlexibleHeroSlots, Footer, type FooterParameters, type FooterProps, FooterSlots, Grid, GridItem, type GridItemParameters, type GridItemProps, GridItemSlots, type GridParameters, type GridProps, GridSlots, Header, type HeaderParameters, type HeaderProps, HeaderSlots, HeaderVariants, IconLabel, type IconLabelParameters, type IconLabelProps, Image, _default$5 as ImageGallery, type ImageGalleryParameters, type ImageGalleryProps, ImageGallerySlots, type ImageParameters, type ImageProps, Link, type LinkParameters, type LinkProps, LinkSlots, _default$4 as Modal, type ModalParameters, type ModalProps, ModalSlots, _default$3 as NavigationFlyout, type NavigationFlyoutParameters, type NavigationFlyoutProps, _default$2 as NavigationGroup, type NavigationGroupParameters, type NavigationGroupProps, NavigationLink, type NavigationLinkParameters, type NavigationLinkProps, Page, type PageParameters, type PageProps, Review, type ReviewParameters, type ReviewProps, ReviewSlots, ReviewVariants, RichText, type RichTextParameters, type RichTextProps, Section, ContentAlignment as SectionContentAlignment, type SectionParameters, type SectionProps, SectionSlots, SectionVariants, Spacer, type SpacerParameters, type SpacerProps, SpacerVariants, Tab, type TabParameters, type TabProps, TabSlots, Table, TableCustomCell, type TableCustomCellParameters, type TableCustomCellProps, TableCustomCellSlots, TableDataCell, type TableDataCellParameters, type TableDataCellProps, TableHeaderCell, type TableHeaderCellParameters, type TableHeaderCellProps, type TableParameters, type TableProps, TableRow, type TableRowProps, TableSlots, _default$1 as Tabs, type TabsParameters, type TabsProps, TabsSlots, TabsVariants, Testimonial, type TestimonialParameters, type TestimonialProps, TestimonialSlots, TestimonialVariants, Text, type TextParameters, type TextProps, _default as ThemeSwitcher, type ThemeSwitcherParameters, type ThemeSwitcherProps, Video, type VideoParameters, type VideoProps, componentResolver, cskComponentsMapping, cskComponentsMapping as default };
@@ -1,2 +1,2 @@
1
- import{a as ft}from"../../chunk-TM7Q5NMH.mjs";import{a as ht,b as Pt,c as Ct}from"../../chunk-M3BGP5VE.mjs";import{a as q}from"../../chunk-AKRWCDDG.mjs";import{a as mt}from"../../chunk-56OQGKRM.mjs";import{B as Ae,D as Ne,E as Mr,G as Be,H as Or,I as jr,K as ke,L as Hr,M as Wr,N as $r,P as Fe,Q as zr,S as _e,T as Kr,U as Qr,a as Ce,b as wr,d as xe,e as Ar,f as Nr,h as Br,i as ge,k as Ur,l as _r,m as Vr,n as z,p as Lr,q as be,s as Rr,t as Gr,u as Ie,w as Dr,x as we,z as Se}from"../../chunk-TIRCISSU.mjs";import{b as Er,c as Te}from"../../chunk-2SEOCBRK.mjs";import{a as qr,b as Jr,c as Ue}from"../../chunk-FPOIJMYT.mjs";import{a as H,b as W,d as $}from"../../chunk-4LWAGTFW.mjs";import"../../chunk-6TUDWIYU.mjs";import{a as g}from"../../chunk-QHIWJPL6.mjs";import{a as Tr,b as Sr,c as ye}from"../../chunk-LA36HQWS.mjs";import{a as kr,b as Fr,c as ve}from"../../chunk-2UV7TQNF.mjs";import{a as dt,b as ut}from"../../chunk-Z7JSWSPD.mjs";import{a as w}from"../../chunk-BK7UG4U4.mjs";import{b as ct}from"../../chunk-YUCUJWBO.mjs";import"../../chunk-3PDY7RJC.mjs";import{a as y}from"../../chunk-2YTACEBA.mjs";import"../../chunk-MSXDLSXH.mjs";import{a as j,c as I,d as lt}from"../../chunk-RX4IAAQQ.mjs";import{a as Pe,c as h}from"../../chunk-S7CSCIW4.mjs";import{a as pt,b as Ir}from"../../chunk-YEKQJ4YC.mjs";var wt=pt((na,It)=>{"use strict";var Ge=class{constructor(e){this.value=e,this.next=void 0}},De=class{constructor(){this.clear()}enqueue(e){let t=new Ge(e);this._head?(this._tail.next=t,this._tail=t):(this._head=t,this._tail=t),this._size++}dequeue(){let e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}};It.exports=De});var St=pt((ia,Tt)=>{"use strict";var eo=wt(),to=r=>{if(!((Number.isInteger(r)||r===1/0)&&r>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let e=new eo,t=0,o=()=>{t--,e.size>0&&e.dequeue()()},a=async(s,n,...m)=>{t++;let l=(async()=>s(...m))();n(l);try{await l}catch{}o()},p=(s,n,...m)=>{e.enqueue(a.bind(null,s,n,...m)),(async()=>(await Promise.resolve(),t<r&&e.size>0&&e.dequeue()()))()},i=(s,...n)=>new Promise(m=>{p(s,m,...n)});return Object.defineProperties(i,{activeCount:{get:()=>t},pendingCount:{get:()=>e.size},clearQueue:{value:()=>{e.clear()}}}),i};Tt.exports=to});import Yr from"next/dynamic";var yt=(e=>(e.AccordionItemContent="accordionItemContent",e))(yt||{}),Ve=Yr(()=>import("../../accordion-item-G5CNMERW.mjs").then(r=>r.AccordionItem));import{UniformText as Xr}from"@uniformdev/canvas-next-rsc/component";import{jsx as xt}from"react/jsx-runtime";var gt=({className:r,...e})=>xt("svg",{viewBox:"0 0 6 6","aria-hidden":"true",className:h("w-1.5 h-1.5",r),...e,children:xt("circle",{r:"3",cx:"3",cy:"3"})});var vt=({pill:r,size:e,dotColor:t,borderColor:o,backgroundColor:a})=>h("inline-flex items-center w-fit",{"rounded-full":r,"rounded-md":!r,"gap-x-1.5":!!t,[`ring-1 ring-inset ring-${o}`]:!!o,[`bg-${a}`]:!!a,[`p-${e}`]:e});import{jsx as Le,jsxs as Zr}from"react/jsx-runtime";var bt=({component:r,context:e,textColor:t,backgroundColor:o,borderColor:a,dotColor:p,pill:i=!1,size:s})=>Zr("div",{className:vt({pill:i,size:s,dotColor:p,borderColor:a,backgroundColor:o}),children:[p&&Le(gt,{className:h({[`fill-${p}`]:p})}),Le(g,{color:t,size:"xs",children:Le(Xr,{placeholder:"Badge text goes here",parameterId:"text",component:r,context:e})})]});var Re=bt;import{flattenValues as Dt,CanvasClient as xo}from"@uniformdev/canvas";var Nt=Ir(St(),1),ro=Object.defineProperty,At=r=>{throw TypeError(r)},oo=(r,e,t)=>e in r?ro(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ao=(r,e,t)=>oo(r,typeof e!="symbol"?e+"":e,t),no=(r,e,t)=>e.has(r)||At("Cannot "+t),P=(r,e,t)=>(no(r,e,"read from private field"),t?t.call(r):e.get(r)),T=(r,e,t)=>e.has(r)?At("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t);var io=(0,Nt.default)(6),so=class Bt extends Error{constructor(e,t,o,a,p,i){super(`${e}
2
- ${a}${p?" "+p:""} (${t} ${o}${i?` Request ID: ${i}`:""})`),this.errorMessage=e,this.fetchMethod=t,this.fetchUri=o,this.statusCode=a,this.statusText=p,this.requestId=i,Object.setPrototypeOf(this,Bt.prototype)}},v=class kt{constructor(e){ao(this,"options");var t,o,a,p,i;if(!e.apiKey&&!e.bearerToken)throw new Error("You must provide an API key or a bearer token");let s=e.fetch;if(!s)if(typeof window<"u")s=window.fetch.bind(window);else if(typeof fetch<"u")s=fetch;else throw new Error("You must provide or polyfill a fetch implementation when not in a browser");this.options={...e,fetch:s,apiHost:this.ensureApiHost(e.apiHost),apiKey:(t=e.apiKey)!=null?t:null,projectId:(o=e.projectId)!=null?o:null,bearerToken:(a=e.bearerToken)!=null?a:null,limitPolicy:(p=e.limitPolicy)!=null?p:io,bypassCache:(i=e.bypassCache)!=null?i:!1}}async apiClient(e,t){return(await this.apiClientWithResponse(e,t)).body}async apiClientWithResponse(e,t){return this.options.limitPolicy(async()=>{var o;let a=this.options.apiKey?{"x-api-key":this.options.apiKey}:{Authorization:`Bearer ${this.options.bearerToken}`};this.options.bypassCache&&(a["x-bypass-cache"]="true");let{fetch:p,signal:i}=this.options,n=await po(()=>p(e.toString(),{...t,signal:i,headers:{...t?.headers,...a}}));if(!n.ok){let m="";try{let l=await n.text();try{let d=JSON.parse(l);d.errorMessage?m=Array.isArray(d.errorMessage)?d.errorMessage.join(", "):d.errorMessage:m=l}catch{m=l}}catch{m="General error"}throw new so(m,(o=t?.method)!=null?o:"GET",e.toString(),n.status,n.statusText,kt.getRequestId(n))}return t?.expectNoContent?{response:n,body:null}:{response:n,body:await n.json()}})}createUrl(e,t,o){let a=new URL(`${o??this.options.apiHost}${e}`);return Object.entries(t??{}).forEach(([p,i])=>{var s;typeof i<"u"&&i!==null&&a.searchParams.append(p,Array.isArray(i)?i.join(","):(s=i?.toString())!=null?s:"")}),a}ensureApiHost(e){if(!e)return"https://uniform.app";if(!e?.startsWith("http"))throw new Error('Your apiHost must start with "http"');if(e.indexOf("/",8)>-1)throw new Error("Your apiHost must not contain a path element after the domain");if(e.indexOf("?")>-1)throw new Error("Your apiHost must not contain a query string");return e?.endsWith("/")&&(e=e.substring(0,e.length-1)),e}static getRequestId(e){let t=e.headers.get("apigw-requestid");if(t)return t}};async function po(r){var e;let o=5,a;for(;o>0&&(a=await r(),a.status===429);){let p=0;try{let n=a.clone(),m=n.headers.get("date"),l=m?new Date(m).getTime():void 0,d=await n.json(),c=(e=d?.info)==null?void 0:e.reset;typeof l=="number"&&typeof c=="number"&&(p=Math.max(0,Math.min(Math.round(1.1*(c-l)),1e4)))}catch{}let i=Math.pow(2,5-o)*333,s=i+Math.round(Math.random()*(i/2))*(Math.random()>.5?1:-1);await new Promise(n=>setTimeout(n,p+s)),o-=1}return a}var V,mo=class J extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(J,V),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(J,V));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(J,V));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};V=new WeakMap;T(mo,V,"/api/v2/aggregate");var Ee,lo=class Ft extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(Ft,Ee),{...e,projectId:t});return await this.apiClient(o)}};Ee=new WeakMap;T(lo,Ee,"/api/v2/dimension");var L,X,Ut=class _ extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(_,L),{...e,projectId:t});return await this.apiClient(o)}async upsertCategory(e){let t=this.createUrl(P(_,L));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async removeCategory(e){let t=this.createUrl(P(_,L));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async upsertValue(e){let t=this.createUrl(P(_,X));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async removeValue(e){let t=this.createUrl(P(_,X));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};L=new WeakMap;X=new WeakMap;T(Ut,L,"/api/v1/enrichments");T(Ut,X,"/api/v1/enrichment-values");var Me,co=class _t extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(_t,Me),{...e,projectId:t});return await this.apiClient(o)}async publish(){let{projectId:e}=this.options,t=this.createUrl("/api/v1/publish",{siteId:e});await this.apiClient(t,{method:"POST",expectNoContent:!0})}};Me=new WeakMap;T(co,Me,"/api/v2/manifest");var R,uo=class K extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(K,R),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(K,R));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(K,R));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};R=new WeakMap;T(uo,R,"/api/v2/quirk");var G,fo=class Q extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(Q,G),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(Q,G));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(Q,G));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};G=new WeakMap;T(fo,G,"/api/v2/signal");var D,ho=class Y extends v{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(Y,D),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(Y,D));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(Y,D));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};D=new WeakMap;T(ho,D,"/api/v2/test");import{createVariableReference as Co,parseVariableExpression as yo}from"@uniformdev/canvas";var Vt=r=>{throw TypeError(r)},We=(r,e,t)=>e.has(r)||Vt("Cannot "+t),Z=(r,e,t)=>(We(r,e,"read from private field"),t?t.call(r):e.get(r)),Lt=(r,e,t)=>e.has(r)?Vt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),Po=(r,e,t,o)=>(We(r,e,"write to private field"),o?o.call(r,t):e.set(r,t),t),E=(r,e,t)=>(We(r,e,"access private method"),t);var Rt=class extends v{constructor(r){super(r),this.getProjectMapDefinitions=async()=>{let{projectId:e}=this.options,t=this.createUrl("/api/v1/project-map",{projectId:e});return await this.apiClient(t)},this.getProjectMapDefinition=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map",{...e,projectId:t});return await this.apiClient(o)},this.upsertProjectMap=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map");return(await this.apiClient(o,{method:"PUT",body:JSON.stringify({...e,projectId:t})})).projectMapId},this.deleteProjectMap=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map");await this.apiClient(o,{method:"DELETE",body:JSON.stringify({...e,projectId:t}),expectNoContent:!0})},this.upsertProjectMapNodes=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map-nodes");await this.apiClient(o,{method:"PUT",body:JSON.stringify({...e,projectId:t,nodes:e.nodes.map(a=>({...a,node:{...this.cleanProjectMapNode(a.node)}}))}),expectNoContent:!0})},this.deleteProjectMapNode=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map-nodes");await this.apiClient(o,{method:"DELETE",body:JSON.stringify({...e,projectId:t}),expectNoContent:!0})},this.getSubtree=async e=>{var t;let o=this.setFetchOptions(e);o.tree="true";let a=this.createUrl("/api/v1/project-map-nodes",o),i={...(await this.apiClient(a)).tree},s=[i];for(;s&&s.length>0;){let n=s.pop(),m;(t=n?.children)==null||t.forEach(l=>{l.parent=Oe(n),l.previousSibling=Oe(m),m&&(m.nextSibling=Oe(l)),m=l,s.push(l)})}return i},this.getNodes=async e=>{let t=this.setFetchOptions(e),o=this.createUrl("/api/v1/project-map-nodes",t);return await this.apiClient(o)}}setFetchOptions(r){let{projectId:e}=this.options,t={projectId:e};return Object.entries(r).forEach(([o,a])=>{if(a!==void 0){if(typeof a=="boolean"){if(!a)return;t[o]="true";return}if(typeof a=="number"){t[o]=a.toString(10);return}t[o]=a}}),t}cleanProjectMapNode(r){var e,t,o;return{id:((o=(t=(e=r.id)==null?void 0:e.match(/^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i))==null?void 0:t.length)!=null?o:0)==1?r.id:void 0,path:r.path,name:r.name,type:r.type,order:r.order,data:r.data,compositionId:r.compositionId,description:r.description,locales:r.locales}}};var Oe=r=>r?{...r,parent:void 0,children:void 0}:void 0;var B,k,He,ee,$e=class S{constructor(e){this.route=e,Lt(this,B);var t;Po(this,B,E(t=S,k,He).call(t,this.route))}get dynamicSegmentCount(){return Z(this,B).segments.reduce((e,t)=>{var o;return E(o=S,k,ee).call(o,t)?e+1:e},0)}matches(e){var t,o;let{segments:a,queryParams:p}=E(t=S,k,He).call(t,e),{segments:i}=Z(this,B);if(a.length!==i.length)return{match:!1};let s={match:!0,dynamicSegmentCount:0,pathParams:{},queryParams:{}};for(let n=0;n<i.length;n++){let m=i[n],l=a[n];if(E(o=S,k,ee).call(o,m)){let d=m.slice(1);s.pathParams[d]=l,s.dynamicSegmentCount++}else if(m!==l)return{match:!1}}for(let[n,m]of Z(this,B).queryParams)s.queryParams[n]=p.has(n)?p.get(n):m;return s}expand(e){let{dynamicInputValues:t={},allowedQueryParams:o=[],doNotEscapeVariables:a=!1}=e??{},p=Z(this,B).segments.map(n=>{let m=S.getDynamicRouteSegmentName(n);if(!m)return n;let l=t[m];return l?je(l,a):n}).join("/"),i=o.filter(n=>{let m=typeof t[n];return m==="string"||m==="number"||m==="boolean"}).map(n=>`${je(n,a)}=${je(t[n],a)}`),s=i.length?`?${i.join("&")}`:"";return`/${p}${s}`}static getDynamicRouteSegmentName(e){var t;if(E(t=S,k,ee).call(t,e))return e.slice(S.dynamicSegmentPrefix.length)}};B=new WeakMap;k=new WeakSet;He=function(r){if(!r.startsWith("/")||r==="")throw new Error(`Path must start with a slash: ${r}`);let[e,t]=r.split("?"),o=e.substring(1).split("/");o[o.length-1]===""&&o.pop();let a=new URLSearchParams(t);return{segments:o,queryParams:a}};ee=function(r){return r?r.startsWith($e.dynamicSegmentPrefix):!1};Lt($e,k);$e.dynamicSegmentPrefix=":";function je(r,e){if(!e)return encodeURIComponent(r);let t=[];return yo(r.toString(10),(o,a)=>{a==="variable"?t.push(Co(o)):t.push(encodeURIComponent(o))}),t.join("")}import{jsx as te}from"react/jsx-runtime";var Gt=r=>{switch(r){case"slash":return te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:te("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 20.247 6-16.5"})});case"chevron":default:return te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:te("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})}};import{jsx as F,jsxs as go}from"react/jsx-runtime";var Et=async({separator:r,links:e,size:t,color:o,font:a,transform:p,autoGenerate:i,context:s})=>{let n=!s?.matchedRoute||s?.matchedRoute==="composition",d=i?await(async()=>{if(n)return[];let c=new Rt({projectId:process.env.UNIFORM_PROJECT_ID,apiKey:process.env.UNIFORM_API_KEY}),{nodes:f}=await c.getNodes({path:s?.matchedRoute,includeAncestors:!0});return f?.length?Promise.all(f.map(async u=>{let x=u.pathSegment?.includes(":")&&u.compositionId?await new xo({projectId:process.env.UNIFORM_PROJECT_ID,apiKey:process.env.UNIFORM_API_KEY}).getCompositionById({compositionId:u.compositionId}).then(({composition:b})=>b&&Dt(b)?.pageTitle||u.name).catch(()=>u.name):u.name,A=u.type==="placeholder"?void 0:j(u.path,s.dynamicInputs);return{title:x,link:A}})):[]})():await(async()=>e?.reduce((c,f)=>{let{title:u,link:C}=Dt(f);return u?[...c,{title:u,link:I(C)}]:c},[])||[])();return n&&i?F("ul",{className:"flex items-center",children:F("li",{className:"flex items-center",children:F(g,{size:t,font:a,color:o,transform:p,children:"Breadcrumbs cannot be auto-generated because the project map is not accessible in this context."})})}):d.length?F("ul",{className:h("flex items-center",{[`text-${t}`]:!!t,[`text-${o}`]:!!o}),children:d.map(({title:c,link:f},u)=>go("li",{className:"flex items-center",children:[!!u&&F("div",{className:"mx-2 size-[1em]",children:Gt(r)}),f?F(W,{variant:"link",textColor:o,className:h({[`font-${a}`]:!!a,[`text-${t}`]:!!t,[p||""]:!!p}),href:f,children:c}):F(g,{size:t,font:a,color:o,transform:p,children:c})]},`${c}-${u}`))}):null};var ze=Et;import{useMemo as vo}from"react";import{UniformText as bo}from"@uniformdev/canvas-next-rsc/component";import{jsx as re}from"react/jsx-runtime";var Mt=({component:r,context:e,link:t,textColor:o,textFont:a,textWeight:p,textTransform:i,buttonColor:s,icon:n,iconPosition:m,border:l,size:d,textSize:c,hoverButtonColor:f,hoverTextColor:u,className:C,onClick:x,text:A})=>{let b=I(t),N=e.previewMode==="editor"&&e?.isContextualEditing,U=vo(()=>{let[he]=y(n),{url:O,title:br=""}=he||{};if(O)return{url:O,title:br}},[n]),ue=()=>{if(!U)return;let{url:he,title:O}=U;return re(w,{src:he,alt:O,width:20,height:20,containerStyle:{width:"20px",height:"20px"}})};return!(!!A||!!U)&&!N?null:re(W,{variant:r.variant,href:b,border:l,size:d,onClick:x,className:C,textSize:c,isActive:e.matchedRoute===b,textColor:o,textFont:a,textWeight:p,textTransform:i,buttonColor:s,hoverButtonColor:f,hoverTextColor:u,icon:re(ue,{}),iconPosition:m,children:re(bo,{placeholder:"Button text goes here",parameterId:"text",component:r,context:e})})};var qe=Mt;import{UniformSlot as Io}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ot}from"react/jsx-runtime";var oe=({displayName:r,anchor:e,slots:t,component:o,context:a,backgroundColor:p,spacing:i,border:s,fluidContent:n,fullHeight:m,fitHeight:l,height:d,className:c})=>Ot(ct,{title:r,id:e,backgroundColor:p,spacing:i,border:s,fluidContent:n,fullHeight:m,fitHeight:l,height:d,className:c,children:Ot(Io,{data:o,context:a,slot:t.containerContent})});var jt=(e=>(e.ContainerContent="containerContent",e))(jt||{});import{jsx as Ht}from"react/jsx-runtime";var ae=({color:r,thickness:e,width:t,alignment:o})=>Ht("div",{className:h("flex w-full",`justify-${o||"center"}`),children:Ht("div",{className:h({[`bg-${r}`]:!!r}),style:{width:t,height:e}})});import{UniformSlot as wo}from"@uniformdev/canvas-next-rsc/component";import{jsx as Wt}from"react/jsx-runtime";var $t=({direction:r,justifyContent:e,gap:t,alignItems:o,backgroundColor:a,spacing:p,border:i,fluidContent:s,fullHeight:n,slots:m,component:l,context:d,className:c,fitHeight:f,wrapperClassName:u})=>Wt(ht,{direction:r,justifyContent:e,gap:t,alignItems:o,backgroundColor:a,spacing:p,border:i,fluidContent:s,fullHeight:n,fitHeight:f,wrapperClassName:u,className:c,children:Wt(wo,{data:l,context:d,slot:m.flexItem})});var Je=$t;import{UniformSlot as To}from"@uniformdev/canvas-next-rsc/component";import{jsx as zt}from"react/jsx-runtime";var ne=({alignSelf:r,shrink:e,context:t,component:o,slots:a})=>zt(Pt,{alignSelf:r,shrink:e,children:zt(To,{data:o,context:t,slot:a.inner})});import{UniformSlot as So}from"@uniformdev/canvas-next-rsc/component";import{jsx as qt}from"react/jsx-runtime";var Jt=({columnsCount:r,gapX:e,gapY:t,backgroundColor:o,spacing:a,border:p,fluidContent:i,fullHeight:s,fitHeight:n,height:m,slots:l,component:d,context:c,className:f})=>qt(dt,{className:f,columnsCount:r,gapX:e,gapY:t,backgroundColor:o,spacing:a,border:p,fluidContent:i,fullHeight:s,fitHeight:n,height:m,children:qt(So,{data:d,context:c,slot:l.gridInner})});var Kt=(e=>(e.GridInner="gridInner",e))(Kt||{}),Ke=Jt;import{UniformSlot as Ao}from"@uniformdev/canvas-next-rsc/component";import{jsx as Qt}from"react/jsx-runtime";var Yt=({columnStart:r,columnSpan:e,rowStart:t,className:o,rowSpan:a,context:p,component:i,slots:s})=>Qt(ut,{columnStart:r,columnSpan:e,rowStart:t,rowSpan:a,className:o,children:Qt(Ao,{data:i,context:p,slot:s.inner})});var Xt=(e=>(e.Inner="inner",e))(Xt||{}),Qe=Yt;import{UniformText as No}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ye}from"react/jsx-runtime";var Zt=({icon:r,size:e,tag:t,color:o,weight:a,font:p,transform:i,decoration:s,letterSpacing:n,alignment:m,component:l,context:d})=>{let[c]=y(r),{url:f,title:u=""}=c||{};return Ye(q,{icon:f?Ye(w,{src:f,alt:u,fill:!0}):void 0,size:e,tag:t,color:o,weight:a,font:p,transform:i,decoration:s,letterSpacing:n,alignment:m,children:Ye(No,{placeholder:"Text goes here",parameterId:"text",component:l,context:d})})};var Xe=Zt;import{imageFrom as Bo}from"@uniformdev/assets";import{jsx as er}from"react/jsx-runtime";var tr=({context:r,component:e,width:t,height:o})=>{let a=r.previewMode==="editor"&&r.isContextualEditing,p=e?._id?.includes("placeholder_");return!a||p?null:er("div",{style:{width:t?`${t}px`:"auto",height:o?`${o}px`:"auto"},children:er($,{type:"image",placeholder:"Please add an asset to display an image"})})};import{jsx as Ze}from"react/jsx-runtime";var ie=async({image:r,objectFit:e,width:t,height:o,overlayColor:a,overlayOpacity:p,border:i,priority:s,fill:n,unoptimized:m,context:l,component:d})=>{let[c]=y(r);if(!c)return Ze(tr,{context:l,component:d,width:t,height:o});let{focalPoint:f,title:u=""}=c,C=t||c.width,x=o||c.height;if(!n&&(!C||!x))return console.warn("No dimensions provided for the Next.js Image component. Falling back to a standard <img> tag for rendering."),Ze("img",{src:c.url,alt:u});let A=Bo(c?.url).transform({width:t,height:o,fit:e,focal:f}).url();return Ze(w,{src:A,alt:u,unoptimized:m,priority:s,sizes:"100%",style:{objectFit:e},overlayColor:a,overlayOpacity:p,border:i,...n?{fill:!0}:{width:C,height:x}})};import{UniformSlot as ko}from"@uniformdev/canvas-next-rsc/component";import{jsx as rr}from"react/jsx-runtime";var or=({component:r,context:e,slots:t,link:o,openInNewTab:a})=>rr(H,{link:I(o),openInNewTab:a,children:rr(ko,{data:r,context:e,slot:t.linkContent})});var ar=(e=>(e.LinkContent="linkContent",e))(ar||{}),et=or;import{UniformText as Fo}from"@uniformdev/canvas-next-rsc/component";import{jsx as nr}from"react/jsx-runtime";var ir=({href:r,isExternalLink:e,children:t})=>r?nr(H,{className:"cursor-pointer hover:no-underline",link:r,openInNewTab:e,rel:e?"noopener noreferrer":"",children:t}):nr("div",{className:"cursor-pointer",children:t});import{jsx as M}from"react/jsx-runtime";var sr=({icon:r,link:e,activeState:t,size:o,tag:a,color:p,weight:i,font:s,transform:n,decoration:m,letterSpacing:l,alignment:d,component:c,context:f,hoverEffect:u="",className:C})=>{let x=I(e),A=t&&j(f.matchedRoute,f.dynamicInputs)===x,[b]=y(r),{url:N,title:U=""}=b||{},ue=()=>N?N.endsWith(".svg")?M(ft,{src:N,alt:U,fill:!0}):M(w,{src:N,alt:U,fill:!0}):null,fe=h("transition-all duration-150",{[Pe(u,"group-hover:{value}")]:!!u,[Pe(u,"{value}")]:!!u&&A});return M(ir,{href:x,isExternalLink:lt(x),children:M(q,{icon:ue(),className:h("group",C),iconClassName:fe,textClassName:fe,size:o,tag:a,color:p,weight:i,font:s,transform:n,decoration:m,letterSpacing:l,alignment:d,children:M(Fo,{placeholder:"Text goes here",parameterId:"text",className:"whitespace-nowrap",component:c,context:f})})})};var tt=sr;import{UniformRichText as Uo}from"@uniformdev/canvas-next-rsc/component";import{jsx as pr}from"react/jsx-runtime";var mr=({color:r,lineCountRestrictions:e,font:t,component:o,className:a})=>pr(g,{lineCountRestrictions:e,color:r,font:t,children:pr(Uo,{className:h("prose max-w-full marker:text-current [&_*:not(pre)]:text-current",a),parameterId:"text",component:o,placeholder:"Rich text content goes here..."})});var rt=mr;import{jsx as _o}from"react/jsx-runtime";var se=({size:r,component:{variant:e}})=>{let t=e==="horizontal";return _o("div",{className:h({[`w-${r}`]:t,[`h-${r}`]:!t})})};var ot=(e=>(e.Horizontal="horizontal",e))(ot||{});import{UniformSlot as Vo}from"@uniformdev/canvas-next-rsc/component";import{jsx as Lo}from"react/jsx-runtime";var lr=({slots:r,component:e,context:t})=>Lo(Vo,{data:e,context:t,slot:r.tabContent});var cr=(e=>(e.TabContent="tabContent",e))(cr||{}),at=lr;import{UniformSlot as Ro}from"@uniformdev/canvas-next-rsc/component";import{jsx as nt}from"react/jsx-runtime";var pe=({component:r,context:e,slots:t,alignment:o})=>nt("td",{children:nt("div",{className:h("w-fit",dr[o||"left"]),children:nt(Ro,{slot:t.tableCustomCellContent,context:e,data:r})})});var dr={left:"ml-0",center:"mx-auto",right:"ml-auto"},ur=(e=>(e.TableCustomCellContent="tableCustomCellContent",e))(ur||{});import{UniformText as Go}from"@uniformdev/canvas-next-rsc/component";import{jsx as fr}from"react/jsx-runtime";var me=({component:r,context:e})=>fr("td",{children:fr(Go,{component:r,context:e,parameterId:"value",placeholder:"Value"})});import{UniformText as Do}from"@uniformdev/canvas-next-rsc/component";import{jsx as hr}from"react/jsx-runtime";var le=({component:r,context:e})=>hr("th",{children:hr(Do,{component:r,context:e,parameterId:"value",placeholder:"Value"})});import{UniformSlot as Eo}from"@uniformdev/canvas-next-rsc/component";import{jsx as Pr}from"react/jsx-runtime";var ce=({slots:r,component:e,context:t})=>Pr("tr",{children:Pr(Eo,{data:e,context:t,slot:r.tableRowCells})});import{UniformText as Mo}from"@uniformdev/canvas-next-rsc/component";import{jsx as Cr}from"react/jsx-runtime";var yr=({tag:r,size:e,color:t,weight:o,font:a,transform:p,decoration:i,letterSpacing:s,lineCountRestrictions:n,alignment:m,component:l,context:d})=>Cr(g,{color:t,size:e,font:a,weight:o,transform:p,decoration:i,letterSpacing:s,alignment:m,lineCountRestrictions:n,children:Cr(Mo,{placeholder:"Text goes here",parameterId:"text",as:r||void 0,component:l,context:d})});var it=yr;import Oo from"next/dynamic";var st=Oo(()=>import("../../theme-switcher-WO5JIV2W.mjs").then(r=>r.ThemeSwitcher));import{jsx as jo}from"react/jsx-runtime";var xr=({context:r,component:e})=>{let t=r.previewMode==="editor"&&r.isContextualEditing,o=e?._id?.includes("placeholder_");return!t||o?null:jo($,{type:"video",placeholder:"Please add video link to display a video"})};import{jsx as gr}from"react/jsx-runtime";var de=({video:r,url:e,placeholderImage:t,autoPlay:o,lazyLoad:a,loop:p,controls:i,muted:s,overlayColor:n,overlayOpacity:m,border:l,component:d,context:c})=>{let[f]=y(r),[u]=y(t),C=f?.url||(e?.type==="url"?e.path:void 0);return C?gr(Ct,{url:C,placeholderImageUrl:u?.url,autoPlay:o,lazyLoad:a,loop:p,controls:i,muted:s,overlayColor:n,overlayOpacity:m,border:l}):gr(xr,{component:d,context:c})};var vr={accordion:{component:Ce},accordionItem:{component:Ve},badge:{component:Re},banner:{component:ye},button:{component:qe},card:{component:xe},carousel:{component:ge},container:{component:oe},countdown:{component:ve},divider:{component:ae},grid:{component:Ke},gridItem:{component:Qe},flex:{component:Je},flexItem:{component:ne},header:{component:Ie},section:{component:ke},iconLabel:{component:Xe},image:{component:ie},page:{component:Ne},richText:{component:rt},spacer:{component:se},text:{component:it},video:{component:de},tabs:{component:Ue},tab:{component:at},table:{component:Fe},tableRow:{component:ce},tableHeaderCell:{component:le},tableDataCell:{component:me},tableCustomCell:{component:pe},modal:{component:Te},imageGallery:{component:we},testimonial:{component:_e},breadcrumbs:{component:ze},review:{component:Be},navigationLink:{component:tt},navigationGroup:{component:Ae},navigationFlyout:{component:Se},footer:{component:be},themeSwitcher:{component:st},link:{component:et},fixedHero:{component:z.FixedHero},flexibleHero:{component:z.FlexibleHero}},ip=vr,sp=mt(vr);export{Ce as Accordion,Ve as AccordionItem,yt as AccordionItemSlots,wr as AccordionSlots,Re as Badge,ye as Banner,Tr as BannerContentAlignment,Sr as BannerSlots,ze as Breadcrumbs,qe as Button,xe as Card,Nr as CardSlots,Ar as CardVariants,ge as Carousel,Br as CarouselSlots,Mr as CommonPageSlots,oe as Container,jt as ContainerSlots,ve as Countdown,kr as CountdownSlots,Fr as CountdownVariants,z as DemoHero,Ur as DemoHeroContentAlignment,_r as DemoHeroVariants,ae as Divider,Je as Flex,ne as FlexItem,Vr as FlexibleHeroSlots,be as Footer,Lr as FooterSlots,Ke as Grid,Qe as GridItem,Xt as GridItemSlots,Kt as GridSlots,Ie as Header,Rr as HeaderSlots,Gr as HeaderVariants,Xe as IconLabel,ie as Image,we as ImageGallery,Dr as ImageGallerySlots,et as Link,ar as LinkSlots,Te as Modal,Er as ModalSlots,Se as NavigationFlyout,Ae as NavigationGroup,tt as NavigationLink,Ne as Page,Be as Review,jr as ReviewSlots,Or as ReviewVariants,rt as RichText,ke as Section,Hr as SectionContentAlignment,$r as SectionSlots,Wr as SectionVariants,se as Spacer,ot as SpacerVariants,at as Tab,cr as TabSlots,Fe as Table,pe as TableCustomCell,ur as TableCustomCellSlots,me as TableDataCell,le as TableHeaderCell,ce as TableRow,zr as TableSlots,Ue as Tabs,Jr as TabsSlots,qr as TabsVariants,_e as Testimonial,Qr as TestimonialSlots,Kr as TestimonialVariants,it as Text,st as ThemeSwitcher,de as Video,sp as componentResolver,vr as cskComponentsMapping,ip as default};
1
+ import{a as ht,b as Pt,c as Ct}from"../../chunk-EIEZRPWW.mjs";import{a as q,b as ft}from"../../chunk-RYEXR67P.mjs";import"../../chunk-PMMAALCQ.mjs";import"../../chunk-V4EBWEG4.mjs";import"../../chunk-EUVKAE6M.mjs";import{a as mt}from"../../chunk-56OQGKRM.mjs";import{B as Ne,D as Be,E as Er,G as Fe,H as Dr,I as Mr,K as ke,L as Or,M as jr,N as Hr,P as Ue,Q as Wr,S as Re,T as qr,U as Jr,a as ye,b as br,d as ge,e as Tr,f as Sr,h as Ar,i as ve,k as Fr,l as kr,m as Ur,n as z,p as _r,q as Ie,s as Rr,t as Vr,u as we,w as Lr,x as Te,z as Ae}from"../../chunk-LG7MD2DH.mjs";import{b as Gr,c as Se}from"../../chunk-2SEOCBRK.mjs";import{a as $r,b as zr,c as _e}from"../../chunk-VW2XC3SE.mjs";import{b as H,c as W,e as $}from"../../chunk-EOV2LPGC.mjs";import"../../chunk-6TUDWIYU.mjs";import{a as v}from"../../chunk-WAW7PQYM.mjs";import{a as Ir,b as wr,c as xe}from"../../chunk-B2O55EVA.mjs";import{a as Nr,b as Br,c as be}from"../../chunk-2UV7TQNF.mjs";import{a as dt,b as ut}from"../../chunk-TCQTXNKT.mjs";import{a as S}from"../../chunk-BK7UG4U4.mjs";import{a as ct}from"../../chunk-7GVG4HLE.mjs";import"../../chunk-3PDY7RJC.mjs";import{a as C}from"../../chunk-2YTACEBA.mjs";import"../../chunk-MSXDLSXH.mjs";import{a as j,c as T,d as lt}from"../../chunk-RX4IAAQQ.mjs";import{a as Ce,c as h}from"../../chunk-S7CSCIW4.mjs";import{a as pt,b as vr}from"../../chunk-YEKQJ4YC.mjs";var wt=pt((oa,It)=>{"use strict";var Ee=class{constructor(e){this.value=e,this.next=void 0}},De=class{constructor(){this.clear()}enqueue(e){let t=new Ee(e);this._head?(this._tail.next=t,this._tail=t):(this._head=t,this._tail=t),this._size++}dequeue(){let e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}};It.exports=De});var St=pt((aa,Tt)=>{"use strict";var Xr=wt(),Zr=r=>{if(!((Number.isInteger(r)||r===1/0)&&r>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let e=new Xr,t=0,o=()=>{t--,e.size>0&&e.dequeue()()},a=async(s,n,...m)=>{t++;let l=(async()=>s(...m))();n(l);try{await l}catch{}o()},p=(s,n,...m)=>{e.enqueue(a.bind(null,s,n,...m)),(async()=>(await Promise.resolve(),t<r&&e.size>0&&e.dequeue()()))()},i=(s,...n)=>new Promise(m=>{p(s,m,...n)});return Object.defineProperties(i,{activeCount:{get:()=>t},pendingCount:{get:()=>e.size},clearQueue:{value:()=>{e.clear()}}}),i};Tt.exports=Zr});import Kr from"next/dynamic";var yt=(e=>(e.AccordionItemContent="accordionItemContent",e))(yt||{}),Ve=Kr(()=>import("../../accordion-item-Y4PSNOH4.mjs").then(r=>r.AccordionItem));import{UniformText as Qr}from"@uniformdev/canvas-next-rsc/component";import{jsx as xt}from"react/jsx-runtime";var gt=({className:r,...e})=>xt("svg",{viewBox:"0 0 6 6","aria-hidden":"true",className:h("w-1.5 h-1.5",r),...e,children:xt("circle",{r:"3",cx:"3",cy:"3"})});var vt=({pill:r,size:e,dotColor:t,borderColor:o,backgroundColor:a})=>h("inline-flex items-center w-fit",{"rounded-full":r,"rounded-md":!r,"gap-x-1.5":!!t,[`ring-1 ring-inset ring-${o}`]:!!o,[`bg-${a}`]:!!a,[`p-${e}`]:e});import{jsx as Le,jsxs as Yr}from"react/jsx-runtime";var bt=({component:r,context:e,textColor:t,backgroundColor:o,borderColor:a,dotColor:p,pill:i=!1,size:s})=>Yr("div",{className:vt({pill:i,size:s,dotColor:p,borderColor:a,backgroundColor:o}),children:[p&&Le(gt,{className:h({[`fill-${p}`]:p})}),Le(v,{color:t,size:"xs",children:Le(Qr,{placeholder:"Badge text goes here",parameterId:"text",component:r,context:e})})]});var Ge=bt;import{flattenValues as Et,CanvasClient as Co}from"@uniformdev/canvas";var Nt=vr(St(),1),eo=Object.defineProperty,At=r=>{throw TypeError(r)},to=(r,e,t)=>e in r?eo(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ro=(r,e,t)=>to(r,typeof e!="symbol"?e+"":e,t),oo=(r,e,t)=>e.has(r)||At("Cannot "+t),P=(r,e,t)=>(oo(r,e,"read from private field"),t?t.call(r):e.get(r)),A=(r,e,t)=>e.has(r)?At("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t);var ao=(0,Nt.default)(6),no=class Bt extends Error{constructor(e,t,o,a,p,i){super(`${e}
2
+ ${a}${p?" "+p:""} (${t} ${o}${i?` Request ID: ${i}`:""})`),this.errorMessage=e,this.fetchMethod=t,this.fetchUri=o,this.statusCode=a,this.statusText=p,this.requestId=i,Object.setPrototypeOf(this,Bt.prototype)}},b=class Ft{constructor(e){ro(this,"options");var t,o,a,p,i;if(!e.apiKey&&!e.bearerToken)throw new Error("You must provide an API key or a bearer token");let s=e.fetch;if(!s)if(typeof window<"u")s=window.fetch.bind(window);else if(typeof fetch<"u")s=fetch;else throw new Error("You must provide or polyfill a fetch implementation when not in a browser");this.options={...e,fetch:s,apiHost:this.ensureApiHost(e.apiHost),apiKey:(t=e.apiKey)!=null?t:null,projectId:(o=e.projectId)!=null?o:null,bearerToken:(a=e.bearerToken)!=null?a:null,limitPolicy:(p=e.limitPolicy)!=null?p:ao,bypassCache:(i=e.bypassCache)!=null?i:!1}}async apiClient(e,t){return(await this.apiClientWithResponse(e,t)).body}async apiClientWithResponse(e,t){return this.options.limitPolicy(async()=>{var o;let a=this.options.apiKey?{"x-api-key":this.options.apiKey}:{Authorization:`Bearer ${this.options.bearerToken}`};this.options.bypassCache&&(a["x-bypass-cache"]="true");let{fetch:p,signal:i}=this.options,n=await io(()=>p(e.toString(),{...t,signal:i,headers:{...t?.headers,...a}}));if(!n.ok){let m="";try{let l=await n.text();try{let c=JSON.parse(l);c.errorMessage?m=Array.isArray(c.errorMessage)?c.errorMessage.join(", "):c.errorMessage:m=l}catch{m=l}}catch{m="General error"}throw new no(m,(o=t?.method)!=null?o:"GET",e.toString(),n.status,n.statusText,Ft.getRequestId(n))}return t?.expectNoContent?{response:n,body:null}:{response:n,body:await n.json()}})}createUrl(e,t,o){let a=new URL(`${o??this.options.apiHost}${e}`);return Object.entries(t??{}).forEach(([p,i])=>{var s;typeof i<"u"&&i!==null&&a.searchParams.append(p,Array.isArray(i)?i.join(","):(s=i?.toString())!=null?s:"")}),a}ensureApiHost(e){if(!e)return"https://uniform.app";if(!e?.startsWith("http"))throw new Error('Your apiHost must start with "http"');if(e.indexOf("/",8)>-1)throw new Error("Your apiHost must not contain a path element after the domain");if(e.indexOf("?")>-1)throw new Error("Your apiHost must not contain a query string");return e?.endsWith("/")&&(e=e.substring(0,e.length-1)),e}static getRequestId(e){let t=e.headers.get("apigw-requestid");if(t)return t}};async function io(r){var e;let o=5,a;for(;o>0&&(a=await r(),a.status===429);){let p=0;try{let n=a.clone(),m=n.headers.get("date"),l=m?new Date(m).getTime():void 0,c=await n.json(),u=(e=c?.info)==null?void 0:e.reset;typeof l=="number"&&typeof u=="number"&&(p=Math.max(0,Math.min(Math.round(1.1*(u-l)),1e4)))}catch{}let i=Math.pow(2,5-o)*333,s=i+Math.round(Math.random()*(i/2))*(Math.random()>.5?1:-1);await new Promise(n=>setTimeout(n,p+s)),o-=1}return a}var R,so=class J extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(J,R),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(J,R));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(J,R));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};R=new WeakMap;A(so,R,"/api/v2/aggregate");var Me,po=class kt extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(kt,Me),{...e,projectId:t});return await this.apiClient(o)}};Me=new WeakMap;A(po,Me,"/api/v2/dimension");var V,X,Ut=class _ extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(_,V),{...e,projectId:t});return await this.apiClient(o)}async upsertCategory(e){let t=this.createUrl(P(_,V));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async removeCategory(e){let t=this.createUrl(P(_,V));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async upsertValue(e){let t=this.createUrl(P(_,X));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async removeValue(e){let t=this.createUrl(P(_,X));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};V=new WeakMap;X=new WeakMap;A(Ut,V,"/api/v1/enrichments");A(Ut,X,"/api/v1/enrichment-values");var Oe,mo=class _t extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(_t,Oe),{...e,projectId:t});return await this.apiClient(o)}async publish(){let{projectId:e}=this.options,t=this.createUrl("/api/v1/publish",{siteId:e});await this.apiClient(t,{method:"POST",expectNoContent:!0})}};Oe=new WeakMap;A(mo,Oe,"/api/v2/manifest");var L,lo=class K extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(K,L),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(K,L));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(K,L));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};L=new WeakMap;A(lo,L,"/api/v2/quirk");var G,co=class Q extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(Q,G),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(Q,G));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(Q,G));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};G=new WeakMap;A(co,G,"/api/v2/signal");var E,uo=class Y extends b{constructor(e){super(e)}async get(e){let{projectId:t}=this.options,o=this.createUrl(P(Y,E),{...e,projectId:t});return await this.apiClient(o)}async upsert(e){let t=this.createUrl(P(Y,E));await this.apiClient(t,{method:"PUT",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}async remove(e){let t=this.createUrl(P(Y,E));await this.apiClient(t,{method:"DELETE",body:JSON.stringify({...e,projectId:this.options.projectId}),expectNoContent:!0})}};E=new WeakMap;A(uo,E,"/api/v2/test");import{createVariableReference as ho,parseVariableExpression as Po}from"@uniformdev/canvas";var Rt=r=>{throw TypeError(r)},$e=(r,e,t)=>e.has(r)||Rt("Cannot "+t),Z=(r,e,t)=>($e(r,e,"read from private field"),t?t.call(r):e.get(r)),Vt=(r,e,t)=>e.has(r)?Rt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),fo=(r,e,t,o)=>($e(r,e,"write to private field"),o?o.call(r,t):e.set(r,t),t),D=(r,e,t)=>($e(r,e,"access private method"),t);var Lt=class extends b{constructor(r){super(r),this.getProjectMapDefinitions=async()=>{let{projectId:e}=this.options,t=this.createUrl("/api/v1/project-map",{projectId:e});return await this.apiClient(t)},this.getProjectMapDefinition=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map",{...e,projectId:t});return await this.apiClient(o)},this.upsertProjectMap=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map");return(await this.apiClient(o,{method:"PUT",body:JSON.stringify({...e,projectId:t})})).projectMapId},this.deleteProjectMap=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map");await this.apiClient(o,{method:"DELETE",body:JSON.stringify({...e,projectId:t}),expectNoContent:!0})},this.upsertProjectMapNodes=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map-nodes");await this.apiClient(o,{method:"PUT",body:JSON.stringify({...e,projectId:t,nodes:e.nodes.map(a=>({...a,node:{...this.cleanProjectMapNode(a.node)}}))}),expectNoContent:!0})},this.deleteProjectMapNode=async e=>{let{projectId:t}=this.options,o=this.createUrl("/api/v1/project-map-nodes");await this.apiClient(o,{method:"DELETE",body:JSON.stringify({...e,projectId:t}),expectNoContent:!0})},this.getSubtree=async e=>{var t;let o=this.setFetchOptions(e);o.tree="true";let a=this.createUrl("/api/v1/project-map-nodes",o),i={...(await this.apiClient(a)).tree},s=[i];for(;s&&s.length>0;){let n=s.pop(),m;(t=n?.children)==null||t.forEach(l=>{l.parent=je(n),l.previousSibling=je(m),m&&(m.nextSibling=je(l)),m=l,s.push(l)})}return i},this.getNodes=async e=>{let t=this.setFetchOptions(e),o=this.createUrl("/api/v1/project-map-nodes",t);return await this.apiClient(o)}}setFetchOptions(r){let{projectId:e}=this.options,t={projectId:e};return Object.entries(r).forEach(([o,a])=>{if(a!==void 0){if(typeof a=="boolean"){if(!a)return;t[o]="true";return}if(typeof a=="number"){t[o]=a.toString(10);return}t[o]=a}}),t}cleanProjectMapNode(r){var e,t,o;return{id:((o=(t=(e=r.id)==null?void 0:e.match(/^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i))==null?void 0:t.length)!=null?o:0)==1?r.id:void 0,path:r.path,name:r.name,type:r.type,order:r.order,data:r.data,compositionId:r.compositionId,description:r.description,locales:r.locales}}};var je=r=>r?{...r,parent:void 0,children:void 0}:void 0;var F,k,We,ee,ze=class N{constructor(e){this.route=e,Vt(this,F);var t;fo(this,F,D(t=N,k,We).call(t,this.route))}get dynamicSegmentCount(){return Z(this,F).segments.reduce((e,t)=>{var o;return D(o=N,k,ee).call(o,t)?e+1:e},0)}matches(e){var t,o;let{segments:a,queryParams:p}=D(t=N,k,We).call(t,e),{segments:i}=Z(this,F);if(a.length!==i.length)return{match:!1};let s={match:!0,dynamicSegmentCount:0,pathParams:{},queryParams:{}};for(let n=0;n<i.length;n++){let m=i[n],l=a[n];if(D(o=N,k,ee).call(o,m)){let c=m.slice(1);s.pathParams[c]=l,s.dynamicSegmentCount++}else if(m!==l)return{match:!1}}for(let[n,m]of Z(this,F).queryParams)s.queryParams[n]=p.has(n)?p.get(n):m;return s}expand(e){let{dynamicInputValues:t={},allowedQueryParams:o=[],doNotEscapeVariables:a=!1}=e??{},p=Z(this,F).segments.map(n=>{let m=N.getDynamicRouteSegmentName(n);if(!m)return n;let l=t[m];return l?He(l,a):n}).join("/"),i=o.filter(n=>{let m=typeof t[n];return m==="string"||m==="number"||m==="boolean"}).map(n=>`${He(n,a)}=${He(t[n],a)}`),s=i.length?`?${i.join("&")}`:"";return`/${p}${s}`}static getDynamicRouteSegmentName(e){var t;if(D(t=N,k,ee).call(t,e))return e.slice(N.dynamicSegmentPrefix.length)}};F=new WeakMap;k=new WeakSet;We=function(r){if(!r.startsWith("/")||r==="")throw new Error(`Path must start with a slash: ${r}`);let[e,t]=r.split("?"),o=e.substring(1).split("/");o[o.length-1]===""&&o.pop();let a=new URLSearchParams(t);return{segments:o,queryParams:a}};ee=function(r){return r?r.startsWith(ze.dynamicSegmentPrefix):!1};Vt(ze,k);ze.dynamicSegmentPrefix=":";function He(r,e){if(!e)return encodeURIComponent(r);let t=[];return Po(r.toString(10),(o,a)=>{a==="variable"?t.push(ho(o)):t.push(encodeURIComponent(o))}),t.join("")}import{jsx as te}from"react/jsx-runtime";var Gt=r=>{switch(r){case"slash":return te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:te("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 20.247 6-16.5"})});case"chevron":default:return te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:te("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})}};import{jsx as U,jsxs as yo}from"react/jsx-runtime";var Dt=async({separator:r,links:e,size:t,color:o,font:a,transform:p,autoGenerate:i,context:s})=>{let n=!s?.matchedRoute||s?.matchedRoute==="composition",c=i?await(async()=>{if(n)return[];let u=new Lt({projectId:process.env.UNIFORM_PROJECT_ID,apiKey:process.env.UNIFORM_API_KEY}),{nodes:f}=await u.getNodes({path:s?.matchedRoute,includeAncestors:!0});return f?.length?Promise.all(f.map(async d=>{let y=d.pathSegment?.includes(":")&&d.compositionId?await new Co({projectId:process.env.UNIFORM_PROJECT_ID,apiKey:process.env.UNIFORM_API_KEY}).getCompositionById({compositionId:d.compositionId}).then(({composition:I})=>I&&Et(I)?.pageTitle||d.name).catch(()=>d.name):d.name,B=d.type==="placeholder"?void 0:j(d.path,s.dynamicInputs);return{title:y,link:B}})):[]})():await(async()=>e?.reduce((u,f)=>{let{title:d,link:x}=Et(f);return d?[...u,{title:d,link:T(x)}]:u},[])||[])();return n&&i?U("ul",{className:"flex items-center",children:U("li",{className:"flex items-center",children:U(v,{size:t,font:a,color:o,transform:p,children:"Breadcrumbs cannot be auto-generated because the project map is not accessible in this context."})})}):c.length?U("ul",{className:h("flex items-center",{[`text-${t}`]:!!t,[`text-${o}`]:!!o}),children:c.map(({title:u,link:f},d)=>yo("li",{className:"flex items-center",children:[!!d&&U("div",{className:"mx-2 size-[1em]",children:Gt(r)}),f?U(W,{variant:"link",textColor:o,className:h({[`font-${a}`]:!!a,[`text-${t}`]:!!t,[p||""]:!!p}),href:f,children:u}):U(v,{size:t,font:a,color:o,transform:p,children:u})]},`${u}-${d}`))}):null};var qe=Dt;import{useMemo as xo}from"react";import{UniformText as go}from"@uniformdev/canvas-next-rsc/component";import{jsx as re}from"react/jsx-runtime";var Mt=({component:r,context:e,link:t,textColor:o,textFont:a,textWeight:p,textTransform:i,buttonColor:s,icon:n,iconPosition:m,border:l,size:c,textSize:u,hoverButtonColor:f,hoverTextColor:d,className:x,onClick:y,text:B})=>{let I=T(t),g=e.previewMode==="editor"&&e?.isContextualEditing,w=xo(()=>{let[Pe]=C(n),{url:O,title:gr=""}=Pe||{};if(O)return{url:O,title:gr}},[n]),fe=()=>{if(!w)return;let{url:Pe,title:O}=w;return re(S,{src:Pe,alt:O,width:20,height:20,containerStyle:{width:"20px",height:"20px"}})};return!(!!B||!!w)&&!g?null:re(W,{variant:r.variant,href:I,border:l,size:c,onClick:y,className:x,textSize:u,isActive:e.matchedRoute===I,textColor:o,textFont:a,textWeight:p,textTransform:i,buttonColor:s,hoverButtonColor:f,hoverTextColor:d,icon:re(fe,{}),iconPosition:m,children:re(go,{placeholder:"Button text goes here",parameterId:"text",component:r,context:e})})};var Je=Mt;import{UniformSlot as vo}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ot}from"react/jsx-runtime";var oe=({displayName:r,anchor:e,slots:t,component:o,context:a,backgroundColor:p,spacing:i,border:s,fluidContent:n,height:m,className:l})=>Ot(ct,{title:r,id:e,backgroundColor:p,spacing:i,border:s,fluidContent:n,height:m,className:l,children:Ot(vo,{data:o,context:a,slot:t.containerContent})});var jt=(e=>(e.ContainerContent="containerContent",e))(jt||{});import{jsx as Ht}from"react/jsx-runtime";var ae=({color:r,thickness:e,width:t,alignment:o})=>Ht("div",{className:h("flex w-full",`justify-${o||"center"}`),children:Ht("div",{className:h({[`bg-${r}`]:!!r}),style:{width:t,height:e}})});import{UniformSlot as bo}from"@uniformdev/canvas-next-rsc/component";import{jsx as Wt}from"react/jsx-runtime";var $t=({direction:r,justifyContent:e,gap:t,alignItems:o,backgroundColor:a,spacing:p,border:i,fluidContent:s,slots:n,component:m,context:l,className:c,height:u,wrapperClassName:f})=>Wt(ht,{direction:r,justifyContent:e,gap:t,alignItems:o,backgroundColor:a,spacing:p,border:i,fluidContent:s,height:u,wrapperClassName:f,className:c,children:Wt(bo,{data:m,context:l,slot:n.flexItem})});var Ke=$t;import{UniformSlot as Io}from"@uniformdev/canvas-next-rsc/component";import{jsx as zt}from"react/jsx-runtime";var ne=({alignSelf:r,shrink:e,context:t,component:o,slots:a})=>zt(Pt,{alignSelf:r,shrink:e,children:zt(Io,{data:o,context:t,slot:a.inner})});import{UniformSlot as wo}from"@uniformdev/canvas-next-rsc/component";import{jsx as qt}from"react/jsx-runtime";var Jt=({columnsCount:r,gapX:e,gapY:t,backgroundColor:o,spacing:a,border:p,fluidContent:i,height:s,slots:n,component:m,context:l,className:c})=>qt(dt,{className:c,columnsCount:r,gapX:e,gapY:t,backgroundColor:o,spacing:a,border:p,fluidContent:i,height:s,children:qt(wo,{data:m,context:l,slot:n.gridInner})});var Kt=(e=>(e.GridInner="gridInner",e))(Kt||{}),Qe=Jt;import{UniformSlot as To}from"@uniformdev/canvas-next-rsc/component";import{jsx as Qt}from"react/jsx-runtime";var Yt=({columnStart:r,columnSpan:e,rowStart:t,className:o,rowSpan:a,context:p,component:i,slots:s})=>Qt(ut,{columnStart:r,columnSpan:e,rowStart:t,rowSpan:a,className:o,children:Qt(To,{data:i,context:p,slot:s.inner})});var Xt=(e=>(e.Inner="inner",e))(Xt||{}),Ye=Yt;import{UniformText as So}from"@uniformdev/canvas-next-rsc/component";import{jsx as Xe}from"react/jsx-runtime";var Zt=({icon:r,size:e,tag:t,color:o,weight:a,font:p,transform:i,decoration:s,letterSpacing:n,alignment:m,component:l,context:c})=>{let[u]=C(r),{url:f,title:d=""}=u||{};return Xe(q,{icon:f?Xe(S,{src:f,alt:d,fill:!0}):void 0,size:e,tag:t,color:o,weight:a,font:p,transform:i,decoration:s,letterSpacing:n,alignment:m,children:Xe(So,{placeholder:"Text goes here",parameterId:"text",component:l,context:c})})};var Ze=Zt;import{imageFrom as Ao}from"@uniformdev/assets";import{jsx as ie}from"react/jsx-runtime";var se=async({image:r,objectFit:e,width:t,height:o,overlayColor:a,overlayOpacity:p,border:i,priority:s,fill:n,unoptimized:m,context:l,component:c})=>{let[u]=C(r);if(!u){let g=l.previewMode==="editor"&&l.isContextualEditing,w=c?._id?.includes("placeholder_");return!g||w||!c.variant?null:ie("div",{style:{width:t?`${t}px`:"auto",height:o?`${o}px`:"auto"},children:ie($,{type:"image",placeholder:"Please add an asset to display an image"})})}let{focalPoint:f,title:d=""}=u,x=t||u.width,y=o||u.height;if(!n&&(!x||!y))return console.warn("No dimensions provided for the Next.js Image component. Falling back to a standard <img> tag for rendering."),ie("img",{src:u.url,alt:d});let B=Ao(u?.url).transform({width:t,height:o,fit:e,focal:f}).url();return ie(S,{src:B,alt:d,unoptimized:m,priority:s,sizes:"100%",style:{objectFit:e},overlayColor:a,overlayOpacity:p,border:i,...n?{fill:!0}:{width:x,height:y}})};import{UniformSlot as No}from"@uniformdev/canvas-next-rsc/component";import{jsx as er}from"react/jsx-runtime";var tr=({component:r,context:e,slots:t,link:o,openInNewTab:a})=>er(H,{link:T(o),openInNewTab:a,children:er(No,{data:r,context:e,slot:t.linkContent})});var rr=(e=>(e.LinkContent="linkContent",e))(rr||{}),et=tr;import{UniformText as Bo}from"@uniformdev/canvas-next-rsc/component";import{jsx as or}from"react/jsx-runtime";var ar=({href:r,isExternalLink:e,children:t})=>r?or(H,{className:"cursor-pointer hover:no-underline",link:r,openInNewTab:e,rel:e?"noopener noreferrer":"",children:t}):or("div",{className:"cursor-pointer",children:t});import{jsx as M}from"react/jsx-runtime";var nr=({icon:r,link:e,activeState:t,size:o,tag:a,color:p,weight:i,font:s,transform:n,decoration:m,letterSpacing:l,alignment:c,component:u,context:f,hoverEffect:d="",className:x})=>{let y=T(e),B=t&&j(f.matchedRoute,f.dynamicInputs)===y,[I]=C(r),{url:g,title:w=""}=I||{},fe=()=>g?g.endsWith(".svg")?M(ft,{src:g,alt:w,fill:!0}):M(S,{src:g,alt:w,fill:!0}):null,he=h("transition-all duration-150",{[Ce(d,"group-hover:{value}")]:!!d,[Ce(d,"{value}")]:!!d&&B});return M(ar,{href:y,isExternalLink:lt(y),children:M(q,{icon:fe(),className:h("group",x),iconClassName:he,textClassName:he,size:o,tag:a,color:p,weight:i,font:s,transform:n,decoration:m,letterSpacing:l,alignment:c,children:M(Bo,{placeholder:"Text goes here",parameterId:"text",className:"whitespace-nowrap",component:u,context:f})})})};var tt=nr;import{UniformRichText as Fo}from"@uniformdev/canvas-next-rsc/component";import{jsx as ir}from"react/jsx-runtime";var sr=({color:r,lineCountRestrictions:e,font:t,component:o,className:a})=>ir(v,{lineCountRestrictions:e,color:r,font:t,children:ir(Fo,{className:h("prose max-w-full marker:text-current [&_*:not(pre)]:text-current",a),parameterId:"text",component:o,placeholder:"Rich text content goes here..."})});var rt=sr;import{jsx as ko}from"react/jsx-runtime";var pe=({size:r,component:{variant:e}})=>{let t=e==="horizontal";return ko("div",{className:h({[`w-${r}`]:t,[`h-${r}`]:!t})})};var ot=(e=>(e.Horizontal="horizontal",e))(ot||{});import{UniformSlot as Uo}from"@uniformdev/canvas-next-rsc/component";import{jsx as _o}from"react/jsx-runtime";var pr=({slots:r,component:e,context:t})=>_o(Uo,{data:e,context:t,slot:r.tabContent});var mr=(e=>(e.TabContent="tabContent",e))(mr||{}),at=pr;import{UniformSlot as Ro}from"@uniformdev/canvas-next-rsc/component";import{jsx as nt}from"react/jsx-runtime";var me=({component:r,context:e,slots:t,alignment:o})=>nt("td",{children:nt("div",{className:h("w-fit",lr[o||"left"]),children:nt(Ro,{slot:t.tableCustomCellContent,context:e,data:r})})});var lr={left:"ml-0",center:"mx-auto",right:"ml-auto"},cr=(e=>(e.TableCustomCellContent="tableCustomCellContent",e))(cr||{});import{UniformText as Vo}from"@uniformdev/canvas-next-rsc/component";import{jsx as dr}from"react/jsx-runtime";var le=({component:r,context:e})=>dr("td",{children:dr(Vo,{component:r,context:e,parameterId:"value",placeholder:"Value"})});import{UniformText as Lo}from"@uniformdev/canvas-next-rsc/component";import{jsx as ur}from"react/jsx-runtime";var ce=({component:r,context:e})=>ur("th",{children:ur(Lo,{component:r,context:e,parameterId:"value",placeholder:"Value"})});import{UniformSlot as Go}from"@uniformdev/canvas-next-rsc/component";import{jsx as fr}from"react/jsx-runtime";var de=({slots:r,component:e,context:t})=>fr("tr",{children:fr(Go,{data:e,context:t,slot:r.tableRowCells})});import{UniformText as Eo}from"@uniformdev/canvas-next-rsc/component";import{jsx as hr}from"react/jsx-runtime";var Pr=({tag:r,size:e,color:t,weight:o,font:a,transform:p,decoration:i,letterSpacing:s,lineCountRestrictions:n,alignment:m,component:l,context:c})=>hr(v,{color:t,size:e,font:a,weight:o,transform:p,decoration:i,letterSpacing:s,alignment:m,lineCountRestrictions:n,children:hr(Eo,{placeholder:"Text goes here",parameterId:"text",as:r||void 0,component:l,context:c})});var it=Pr;import Do from"next/dynamic";var st=Do(()=>import("../../theme-switcher-WO5JIV2W.mjs").then(r=>r.ThemeSwitcher));import{jsx as Mo}from"react/jsx-runtime";var Cr=({context:r,component:e})=>{let t=r.previewMode==="editor"&&r.isContextualEditing,o=e?._id?.includes("placeholder_");return!t||o?null:Mo($,{type:"video",placeholder:"Please add video link to display a video"})};import{jsx as yr}from"react/jsx-runtime";var ue=({video:r,placeholderImage:e,autoPlay:t,lazyLoad:o,loop:a,controls:p,muted:i,overlayColor:s,overlayOpacity:n,border:m,component:l,context:c})=>{let[u]=C(r),[f]=C(e),d=u?.url;return d?yr(Ct,{url:d,placeholderImageUrl:f?.url,autoPlay:t,lazyLoad:o,loop:a,controls:p,muted:i,overlayColor:s,overlayOpacity:n,border:m}):yr(Cr,{component:l,context:c})};var xr={accordion:{component:ye},accordionItem:{component:Ve},badge:{component:Ge},banner:{component:xe},button:{component:Je},card:{component:ge},carousel:{component:ve},container:{component:oe},countdown:{component:be},divider:{component:ae},grid:{component:Qe},gridItem:{component:Ye},flex:{component:Ke},flexItem:{component:ne},header:{component:we},section:{component:ke},iconLabel:{component:Ze},image:{component:se},page:{component:Be},richText:{component:rt},spacer:{component:pe},text:{component:it},video:{component:ue},tabs:{component:_e},tab:{component:at},table:{component:Ue},tableRow:{component:de},tableHeaderCell:{component:ce},tableDataCell:{component:le},tableCustomCell:{component:me},modal:{component:Se},imageGallery:{component:Te},testimonial:{component:Re},breadcrumbs:{component:qe},review:{component:Fe},navigationLink:{component:tt},navigationGroup:{component:Ne},navigationFlyout:{component:Ae},footer:{component:Ie},themeSwitcher:{component:st},link:{component:et},fixedHero:{component:z.FixedHero},flexibleHero:{component:z.FlexibleHero}},tp=xr,rp=mt(xr);export{ye as Accordion,Ve as AccordionItem,yt as AccordionItemSlots,br as AccordionSlots,Ge as Badge,xe as Banner,Ir as BannerContentAlignment,wr as BannerSlots,qe as Breadcrumbs,Je as Button,ge as Card,Sr as CardSlots,Tr as CardVariants,ve as Carousel,Ar as CarouselSlots,Er as CommonPageSlots,oe as Container,jt as ContainerSlots,be as Countdown,Nr as CountdownSlots,Br as CountdownVariants,z as DemoHero,Fr as DemoHeroContentAlignment,kr as DemoHeroVariants,ae as Divider,Ke as Flex,ne as FlexItem,Ur as FlexibleHeroSlots,Ie as Footer,_r as FooterSlots,Qe as Grid,Ye as GridItem,Xt as GridItemSlots,Kt as GridSlots,we as Header,Rr as HeaderSlots,Vr as HeaderVariants,Ze as IconLabel,se as Image,Te as ImageGallery,Lr as ImageGallerySlots,et as Link,rr as LinkSlots,Se as Modal,Gr as ModalSlots,Ae as NavigationFlyout,Ne as NavigationGroup,tt as NavigationLink,Be as Page,Fe as Review,Mr as ReviewSlots,Dr as ReviewVariants,rt as RichText,ke as Section,Or as SectionContentAlignment,Hr as SectionSlots,jr as SectionVariants,pe as Spacer,ot as SpacerVariants,at as Tab,mr as TabSlots,Ue as Table,me as TableCustomCell,cr as TableCustomCellSlots,le as TableDataCell,ce as TableHeaderCell,de as TableRow,Wr as TableSlots,_e as Tabs,zr as TabsSlots,$r as TabsVariants,Re as Testimonial,Jr as TestimonialSlots,qr as TestimonialVariants,it as Text,st as ThemeSwitcher,ue as Video,rp as componentResolver,xr as cskComponentsMapping,tp as default};
@@ -1,8 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { FC, SVGProps, ReactElement, HTMLAttributes, ReactNode, PropsWithChildren } from 'react';
3
- import { T as TextProps, B as ButtonProps, C as ContainerProps, F as FooterProps, H as HeaderProps } from '../../index-B9eeSbLG.mjs';
4
- export { a as ButtonVariant } from '../../index-B9eeSbLG.mjs';
5
- import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
3
+ import { T as TextProps, B as ButtonProps, C as ContainerProps, F as FooterProps, H as HeaderProps } from '../../index-D5cLtaIv.mjs';
4
+ export { a as ButtonVariant } from '../../index-D5cLtaIv.mjs';
6
5
  import { ViewPort } from '../../types/cskTypes.mjs';
7
6
  import { ImageProps as ImageProps$1 } from 'next/image';
8
7
  import { ReactPlayerProps } from 'react-player';
@@ -24,7 +23,7 @@ declare const ImageIcon: FC<SVGProps<SVGSVGElement>>;
24
23
 
25
24
  declare const VideoIcon: FC<SVGProps<SVGSVGElement>>;
26
25
 
27
- type CarouselProps = Pick<ContainerProps, 'title' | 'backgroundColor' | 'spacing' | 'border' | 'fluidContent' | 'fullHeight'> & {
26
+ type CarouselProps = Pick<ContainerProps, 'title' | 'backgroundColor' | 'spacing' | 'border' | 'fluidContent' | 'height'> & {
28
27
  countOfItems?: number;
29
28
  children: (options: {
30
29
  className?: string;
@@ -34,18 +33,17 @@ type CarouselProps = Pick<ContainerProps, 'title' | 'backgroundColor' | 'spacing
34
33
  gapX?: string;
35
34
  variant?: string;
36
35
  };
37
- declare const _default$2: react.ComponentType<CarouselProps>;
36
+ declare const _default$3: react.ComponentType<CarouselProps>;
38
37
 
39
38
  declare const Flex: FC<FlexProps>;
40
39
 
41
40
  type Direction = 'row' | 'row-reverse' | 'col' | 'col-reverse';
42
41
  type Justify = 'normal' | 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
43
- type FlexGap = keyof DefaultTheme['spacing'];
44
42
  type Align = 'start' | 'end' | 'center' | 'baseline' | 'stretch';
45
- type FlexProps = Pick<ContainerProps, 'className' | 'wrapperClassName' | 'title' | 'backgroundColor' | 'spacing' | 'border' | 'fluidContent' | 'fullHeight' | 'fitHeight' | 'height' | 'children'> & {
43
+ type FlexProps = Pick<ContainerProps, 'className' | 'wrapperClassName' | 'title' | 'backgroundColor' | 'spacing' | 'border' | 'fluidContent' | 'height' | 'children'> & {
46
44
  direction?: Direction | ViewPort<Direction>;
47
45
  justifyContent?: Justify | ViewPort<Justify>;
48
- gap?: FlexGap | ViewPort<FlexGap>;
46
+ gap?: string | ViewPort<string>;
49
47
  alignItems?: Align | ViewPort<Align>;
50
48
  };
51
49
 
@@ -60,26 +58,20 @@ type FlexItemProps = HTMLAttributes<HTMLDivElement> & {
60
58
 
61
59
  declare const Grid: FC<GridProps>;
62
60
 
63
- type AvailableColumnsCount = keyof DefaultTheme['gridTemplateColumns'];
64
- type AvailableGap = keyof DefaultTheme['spacing'];
65
- type GridProps = Pick<ContainerProps, 'title' | 'backgroundColor' | 'spacing' | 'border' | 'fluidContent' | 'fullHeight' | 'fitHeight' | 'children' | 'height'> & {
66
- columnsCount?: AvailableColumnsCount | ViewPort<AvailableColumnsCount>;
67
- gapY?: AvailableGap | ViewPort<AvailableGap>;
68
- gapX?: AvailableGap | ViewPort<AvailableGap>;
61
+ type GridProps = Pick<ContainerProps, 'title' | 'backgroundColor' | 'spacing' | 'border' | 'fluidContent' | 'children' | 'height'> & {
62
+ columnsCount?: string | ViewPort<string>;
63
+ gapY?: string | ViewPort<string>;
64
+ gapX?: string | ViewPort<string>;
69
65
  className?: string;
70
66
  };
71
67
 
72
68
  declare const GridItem: FC<GridItemProps>;
73
69
 
74
- type AvailableColumnStart = keyof DefaultTheme['gridColumnStart'];
75
- type AvailableColumnSpan = keyof DefaultTheme['gridColumn'];
76
- type AvailableGridRowStart = keyof DefaultTheme['gridRowStart'];
77
- type AvailableGridRowSpan = keyof DefaultTheme['gridRow'];
78
70
  type GridItemProps = HTMLAttributes<HTMLDivElement> & {
79
- columnStart?: AvailableColumnStart | ViewPort<AvailableColumnStart>;
80
- columnSpan?: AvailableColumnSpan | ViewPort<AvailableColumnSpan>;
81
- rowStart?: AvailableGridRowStart | ViewPort<AvailableGridRowStart>;
82
- rowSpan?: AvailableGridRowSpan | ViewPort<AvailableGridRowSpan>;
71
+ columnStart?: string | ViewPort<string>;
72
+ columnSpan?: string | ViewPort<string>;
73
+ rowStart?: string | ViewPort<string>;
74
+ rowSpan?: string | ViewPort<string>;
83
75
  className?: string;
84
76
  };
85
77
 
@@ -151,7 +143,7 @@ type ThemeSwitcherProps = {
151
143
  iconColor?: string;
152
144
  onChange?: (theme: string) => void;
153
145
  };
154
- declare const _default$1: react.ComponentType<ThemeSwitcherProps>;
146
+ declare const _default$2: react.ComponentType<ThemeSwitcherProps>;
155
147
 
156
148
  type VideoProps = ReactPlayerProps & {
157
149
  autoPlay?: boolean;
@@ -161,6 +153,37 @@ type VideoProps = ReactPlayerProps & {
161
153
  overlayOpacity?: NonNullable<ImageProps$1['style']>['opacity'];
162
154
  border?: string | ViewPort<string>;
163
155
  };
164
- declare const _default: react.ComponentType<VideoProps>;
156
+ declare const _default$1: react.ComponentType<VideoProps>;
165
157
 
166
- export { Arrow as ArrowIcon, Button, ButtonProps, _default$2 as Carousel, type CarouselProps, Container, ContainerProps, Flex, FlexItem, type FlexItemProps, type FlexProps, Footer, FooterProps, Grid, GridItem, type GridItemProps, type GridProps, Header, HeaderProps, IconLabel, type IconLabelProps, Image, ImageIcon, type ImageProps, Link, type LinkProps, MediaPlaceholder, type MediaPlaceholderType, Page, type PageProps, Rating, type RatingProps, Text, TextProps, _default$1 as ThemeSwitcher, type ThemeSwitcherProps, _default as Video, VideoIcon, type VideoProps };
158
+ declare const InlineSVG: FC<InlineSVGProps>;
159
+
160
+ type InlineSVGProps = {
161
+ src: string;
162
+ className?: string;
163
+ fill?: boolean;
164
+ width?: number;
165
+ height?: number;
166
+ sanitize?: boolean;
167
+ fallback?: React.ReactNode;
168
+ useCurrentColor?: boolean;
169
+ alt?: string;
170
+ };
171
+
172
+ declare const Accordion: FC<AccordionProps>;
173
+
174
+ type AccordionProps = ContainerProps & {
175
+ accordionContent?: ReactNode;
176
+ accordionItems: ReactNode;
177
+ };
178
+
179
+ type AccordionItemParameters = Pick<ContainerProps, 'backgroundColor' | 'spacing' | 'border'> & {
180
+ text: ReactElement;
181
+ accordionItemContent: ReactNode;
182
+ };
183
+ type AccordionItemAdditionalProps = {
184
+ className?: string;
185
+ };
186
+ type AccordionItemProps = AccordionItemParameters & AccordionItemAdditionalProps;
187
+ declare const _default: react.ComponentType<AccordionItemProps>;
188
+
189
+ export { Accordion, _default as AccordionItem, type AccordionItemProps, type AccordionProps, Arrow as ArrowIcon, Button, ButtonProps, _default$3 as Carousel, type CarouselProps, Container, ContainerProps, Flex, FlexItem, type FlexItemProps, type FlexProps, Footer, FooterProps, Grid, GridItem, type GridItemProps, type GridProps, Header, HeaderProps, IconLabel, type IconLabelProps, Image, ImageIcon, type ImageProps, InlineSVG, type InlineSVGProps, Link, type LinkProps, MediaPlaceholder, type MediaPlaceholderType, Page, type PageProps, Rating, type RatingProps, Text, TextProps, _default$2 as ThemeSwitcher, type ThemeSwitcherProps, _default$1 as Video, VideoIcon, type VideoProps };
@@ -1 +1 @@
1
- import{a as h}from"../../chunk-V4EBWEG4.mjs";import{a as c,b as g,c as F}from"../../chunk-M3BGP5VE.mjs";import{a as i}from"../../chunk-AKRWCDDG.mjs";import{a as o}from"../../chunk-5VM2Y55L.mjs";import{a as t,b as r,c as a,d as m,e as x,f as y,g as n,h as I}from"../../chunk-4LWAGTFW.mjs";import{a as f,b as s,c as d}from"../../chunk-6TUDWIYU.mjs";import{a as l}from"../../chunk-QHIWJPL6.mjs";import{a as u,b as P}from"../../chunk-Z7JSWSPD.mjs";import{a as p}from"../../chunk-BK7UG4U4.mjs";import{b as e}from"../../chunk-YUCUJWBO.mjs";import"../../chunk-RX4IAAQQ.mjs";import"../../chunk-S7CSCIW4.mjs";import"../../chunk-YEKQJ4YC.mjs";export{f as ArrowIcon,r as Button,a as ButtonVariant,o as Carousel,e as Container,c as Flex,g as FlexItem,x as Footer,u as Grid,P as GridItem,y as Header,i as IconLabel,p as Image,s as ImageIcon,t as Link,m as MediaPlaceholder,n as Page,I as Rating,l as Text,h as ThemeSwitcher,F as Video,d as VideoIcon};
1
+ import{a as v,b as w,c as y}from"../../chunk-EIEZRPWW.mjs";import{a as q,b as r}from"../../chunk-RYEXR67P.mjs";import{a as u}from"../../chunk-PMMAALCQ.mjs";import{a as x}from"../../chunk-V4EBWEG4.mjs";import{a as c}from"../../chunk-EUVKAE6M.mjs";import{a as b,b as d,c as e,d as f,e as l,f as m,g as p,h as s,i as t}from"../../chunk-EOV2LPGC.mjs";import{a as h,b as i,c as j}from"../../chunk-6TUDWIYU.mjs";import{a as k}from"../../chunk-WAW7PQYM.mjs";import{a as n,b as o}from"../../chunk-TCQTXNKT.mjs";import{a as g}from"../../chunk-BK7UG4U4.mjs";import{a}from"../../chunk-7GVG4HLE.mjs";import"../../chunk-RX4IAAQQ.mjs";import"../../chunk-S7CSCIW4.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as Accordion,u as AccordionItem,h as ArrowIcon,e as Button,f as ButtonVariant,c as Carousel,a as Container,v as Flex,w as FlexItem,m as Footer,n as Grid,o as GridItem,p as Header,q as IconLabel,g as Image,i as ImageIcon,r as InlineSVG,d as Link,l as MediaPlaceholder,s as Page,t as Rating,k as Text,x as ThemeSwitcher,y as Video,j as VideoIcon};