@stackshift-ui/features 6.0.4 → 6.0.5-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{chunk-5WUEW27K.mjs → chunk-AN3PFBVX.mjs} +1 -1
  2. package/dist/{chunk-BD6NAK3H.mjs → chunk-CH65ARWJ.mjs} +1 -1
  3. package/dist/chunk-EZOHFSWE.mjs +1 -0
  4. package/dist/chunk-J5AVUHPT.mjs +1 -0
  5. package/dist/chunk-UZBEJEEL.mjs +1 -0
  6. package/dist/{chunk-GL45B7XR.mjs → chunk-VMJMULYP.mjs} +1 -1
  7. package/dist/chunk-WGYOMYCJ.mjs +1 -0
  8. package/dist/features.d.ts +1 -1
  9. package/dist/features.js +1 -1
  10. package/dist/features.mjs +1 -1
  11. package/dist/features_a.d.ts +1 -1
  12. package/dist/features_a.js +1 -1
  13. package/dist/features_a.mjs +1 -1
  14. package/dist/features_c.d.ts +1 -1
  15. package/dist/features_c.js +1 -1
  16. package/dist/features_c.mjs +1 -1
  17. package/dist/features_d.d.ts +1 -1
  18. package/dist/features_d.js +1 -1
  19. package/dist/features_d.mjs +1 -1
  20. package/dist/features_e.js +1 -1
  21. package/dist/features_e.mjs +1 -1
  22. package/dist/features_f.js +1 -1
  23. package/dist/features_f.mjs +1 -1
  24. package/dist/features_g.js +1 -1
  25. package/dist/features_g.mjs +1 -1
  26. package/dist/features_h.js +1 -1
  27. package/dist/features_h.mjs +1 -1
  28. package/dist/index.js +1 -1
  29. package/dist/index.mjs +1 -1
  30. package/package.json +3 -3
  31. package/src/features.tsx +1 -1
  32. package/src/features_a.tsx +16 -3
  33. package/src/features_c.tsx +16 -3
  34. package/src/features_d.tsx +16 -3
  35. package/src/features_e.tsx +1 -1
  36. package/src/features_f.tsx +1 -1
  37. package/src/features_g.tsx +1 -1
  38. package/src/features_h.tsx +3 -3
  39. package/dist/chunk-GGPLBP3I.mjs +0 -1
  40. package/dist/chunk-L75Y6DJF.mjs +0 -1
  41. package/dist/chunk-PLE2ZDCT.mjs +0 -1
  42. package/dist/chunk-VJX6I62Q.mjs +0 -1
  43. /package/dist/{chunk-KVUWMIYP.mjs → chunk-GDVSJ2UR.mjs} +0 -0
@@ -1 +1 @@
1
- import{Container as f}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{Heading as N}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as s}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import T from"react";import{jsx as r,jsxs as o}from"react/jsx-runtime";function y({caption:t,title:n,features:l,images:e}){return r(s,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(b,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(F,{caption:t,title:n}),r(k,{features:l})]})}),r(C,{images:e})]})})})}function F({caption:t,title:n}){return o(T.Fragment,{children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(N,{fontSize:"3xl",className:"mb-6",children:n})]})}function k({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(A,{feature:n},n._key))})}function A({feature:t}){return t?o(b,{as:"li",children:[r(I,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function I(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function C({images:t}){var n,l,e,c,m,a,w,x,p,h,u,v;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-global",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(c=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?c:"features-image-1"}),((m=t==null?void 0:t[1])==null?void 0:m.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-global",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(x=(w=t==null?void 0:t[1])==null?void 0:w.alt)!=null?x:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{className:"object-cover overflow-hidden rounded-global sm:ml-6 sm:w-1/2",src:`${(h=t==null?void 0:t[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(u=t==null?void 0:t[2])==null?void 0:u.alt)!=null?v:"features-image-3"})]})}export{y as a};
1
+ import{Container as f}from"@stackshift-ui/container";import{Flex as N}from"@stackshift-ui/flex";import{Heading as b}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as s}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import T from"react";import{jsx as r,jsxs as o}from"react/jsx-runtime";function y({caption:t,title:n,features:l,images:e}){return r(s,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(N,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(F,{caption:t,title:n}),r(k,{features:l})]})}),r(C,{images:e})]})})})}function F({caption:t,title:n}){return o(T.Fragment,{children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(b,{fontSize:"3xl",className:"mb-6",children:n})]})}function k({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(A,{feature:n},n._key))})}function A({feature:t}){return t?o(N,{as:"li",children:[r(I,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function I(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function C({images:t}){var n,l,e,m,c,a,w,x,p,h,u,v;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-md",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(m=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?m:"features-image-1"}),((c=t==null?void 0:t[1])==null?void 0:c.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(x=(w=t==null?void 0:t[1])==null?void 0:w.alt)!=null?x:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=t==null?void 0:t[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(u=t==null?void 0:t[2])==null?void 0:u.alt)!=null?v:"features-image-3"})]})}export{y as a};
@@ -1 +1 @@
1
- import{Button as x}from"@stackshift-ui/button";import{Container as f}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as h}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as m}from"@stackshift-ui/text";import{jsx as l,jsxs as i}from"react/jsx-runtime";function N({caption:e,title:a,description:t,images:n,primaryButton:o}){return l(w,{className:"py-20 bg-background",children:l(f,{maxWidth:1280,children:i(s,{wrap:!0,align:"center",children:[i(s,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(p,{caption:e,title:a,description:t}),l(F,{primaryButton:o})]}),l(C,{images:n})]})})})}function p({caption:e,title:a,description:t}){return i(f,{maxWidth:448,className:"ml-0",children:[e&&l(m,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&l(v,{fontSize:"3xl",className:"mb-6",children:a}),t&&l(m,{muted:!0,className:"mb-6 leading-loose",children:t})]})}function F({primaryButton:e}){return e!=null&&e.label?l(x,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}):null}function C({images:e}){var t,n,o,d;if(!e||(e==null?void 0:e.length)===0)return null;function a(c,r,g,b,u){return l("div",{className:`overflow-hidden ${u}`,children:l(h,{className:"object-cover w-full h-auto rounded-global",src:c,sizes:"100vw",width:g,height:b,alt:r!=null?r:"feature-image"})})}return i("div",{className:"w-full lg:w-1/2",children:[i("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((t=e[0])==null?void 0:t.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),i("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((o=e[2])==null?void 0:o.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((d=e[3])==null?void 0:d.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}export{N as a};
1
+ import{Button as x}from"@stackshift-ui/button";import{Container as f}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as h}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as m}from"@stackshift-ui/text";import{jsx as l,jsxs as i}from"react/jsx-runtime";function N({caption:e,title:a,description:t,images:n,primaryButton:o}){return l(w,{className:"py-20 bg-background",children:l(f,{maxWidth:1280,children:i(s,{wrap:!0,align:"center",children:[i(s,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(p,{caption:e,title:a,description:t}),l(F,{primaryButton:o})]}),l(C,{images:n})]})})})}function p({caption:e,title:a,description:t}){return i(f,{maxWidth:448,className:"ml-0",children:[e&&l(m,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&l(v,{fontSize:"3xl",className:"mb-6",children:a}),t&&l(m,{muted:!0,className:"mb-6 leading-loose",children:t})]})}function F({primaryButton:e}){return e!=null&&e.label?l(x,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}):null}function C({images:e}){var t,n,o,d;if(!e||(e==null?void 0:e.length)===0)return null;function a(c,r,g,u,b){return l("div",{className:`overflow-hidden ${b}`,children:l(h,{className:"object-cover w-full h-auto rounded-md",src:c,sizes:"100vw",width:g,height:u,alt:r!=null?r:"feature-image"})})}return i("div",{className:"w-full lg:w-1/2",children:[i("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((t=e[0])==null?void 0:t.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),i("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((o=e[2])==null?void 0:o.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((d=e[3])==null?void 0:d.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}export{N as a};
@@ -0,0 +1 @@
1
+ import{Card as s}from"@stackshift-ui/card";import{Container as a}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import x from"react";import{jsx as i,jsxs as r}from"react/jsx-runtime";function T({caption:t,title:m,description:n,features:e}){return i(p,{className:"py-20 bg-background",children:r(a,{maxWidth:1280,children:[i(a,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m,description:n})}),i(y,{features:e})]})})}function b({caption:t,title:m,description:n}){return r(x.Fragment,{children:[t?i(o,{weight:"bold",className:"text-primary",children:t}):null,m?i(g,{fontSize:"3xl",children:m}):null,n?i(o,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function y({features:t}){return t?i(d,{wrap:!0,justify:"center",children:t.map(m=>i(F,{feature:m},m._key))}):null}function F({feature:t}){var m,n,e,l;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:r(s,{className:"h-full px-6 py-12 text-center",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),i(o,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),i(o,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{T as a};
@@ -0,0 +1 @@
1
+ import{Container as r}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import s from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function x({caption:n,title:i,description:t,features:l}){return m(d,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[m(r,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i,description:t})}),m(g,{wrap:!0,children:m(F,{features:l})})]})})}function I({caption:n,title:i,description:t}){return a(s.Fragment,{children:[n?m(o,{weight:"bold",className:"text-secondary",children:n}):null,i?m(p,{fontSize:"3xl",children:i}):null,t?m(o,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function F({features:n}){return n?m(s.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return a("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(o,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,l,e;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:m(c,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(l=n==null?void 0:n.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}export{x as a};
@@ -0,0 +1 @@
1
+ import{Button as p}from"@stackshift-ui/button";import{Card as w}from"@stackshift-ui/card";import{Container as v}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{Heading as e}from"@stackshift-ui/heading";import{Image as N}from"@stackshift-ui/image";import{Section as F}from"@stackshift-ui/section";import{Text as s}from"@stackshift-ui/text";import h from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";function k({featuredItems:o}){let[i,n]=h.useState(0);return l(F,{className:"py-20 overflow-x-auto bg-background",children:l(v,{maxWidth:1280,children:l(b,{className:"relative",children:l(S,{featuredItems:o,slider:r=>{o&&(r==="next"?i!==o.length-1?n(t=>t+1):n(0):i>=1?n(t=>t-1):n(o.length-1))},children:a("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[l(C,{featuredItems:o,item:i}),l(d,{featuredItems:o,item:i})]})})})})})}function C({featuredItems:o,item:i}){var n,x,r,t,m,c,g;return(x=(n=o==null?void 0:o[i])==null?void 0:n.mainImage)!=null&&x.image?l("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:l(N,{className:"relative object-cover rounded-md",src:`${(t=(r=o==null?void 0:o[i])==null?void 0:r.mainImage)==null?void 0:t.image}`,sizes:"100vw",width:896,height:575,alt:(g=(c=(m=o==null?void 0:o[i])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?g:`features-image-${i}`})}):null}function d({featuredItems:o,item:i}){var n,x,r,t,m,c;return o?a(w,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[l(s,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[i])==null?void 0:n.subtitle)&&((x=o==null?void 0:o[i])==null?void 0:x.subtitle)}),l(e,{fontSize:"3xl",children:((r=o==null?void 0:o[i])==null?void 0:r.title)&&((t=o==null?void 0:o[i])==null?void 0:t.title)}),l(s,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[i])==null?void 0:m.description)&&((c=o==null?void 0:o[i])==null?void 0:c.description)})]}):null}function S({featuredItems:o,children:i,slider:n}){return o?a(h.Fragment,{children:[l("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,l("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}export{k as a};
@@ -1 +1 @@
1
- import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import b from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:n,tags:i}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(N,{caption:e,title:t,description:r}),l(F,{tags:i})]})}),l(I,{images:n})]})})})}function N({caption:e,title:t,description:r}){return a(b.Fragment,{children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function F({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(y,{item:t}))}):null}function y({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function I({images:e}){var r,n,i,m;if(!e||(e==null?void 0:e.length)===0)return null;function t(g,o,c,f,p){return l("div",{className:`overflow-hidden ${p}`,children:l(x,{className:"object-cover w-full h-auto rounded-global",src:g,sizes:"100vw",width:c,height:f,alt:o!=null?o:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((i=e[2])==null?void 0:i.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((m=e[3])==null?void 0:m.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
1
+ import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import h from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";function b({caption:e,title:t,description:r,images:n,tags:i}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(N,{caption:e,title:t,description:r}),l(F,{tags:i})]})}),l(I,{images:n})]})})})}function N({caption:e,title:t,description:r}){return a(h.Fragment,{children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function F({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(y,{item:t}))}):null}function y({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function I({images:e}){var r,n,i,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(g,m,c,f,p){return l("div",{className:`overflow-hidden ${p}`,children:l(x,{className:"object-cover w-full h-auto rounded-md",src:g,sizes:"100vw",width:c,height:f,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((i=e[2])==null?void 0:i.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{b as a};
@@ -0,0 +1 @@
1
+ import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as l}from"@stackshift-ui/text";import x from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function b({caption:t,title:i,description:n,features:e}){return m(p,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[m(r,{maxWidth:448,className:"mb-16 text-center ",children:m(T,{caption:t,title:i,description:n})}),m(N,{features:e})]})})}function T({caption:t,title:i,description:n}){return a(x.Fragment,{children:[t?m(l,{weight:"bold",className:"text-secondary",children:t}):null,i?m(g,{fontSize:"3xl",children:i}):null,n?m(l,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function N({features:t}){return t?m(d,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(i=>m(w,{feature:i},i._key))}):null}function w({feature:t}){var i,n,e,o;return m("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:a(s,{className:"flex flex-wrap h-full p-6",children:[m("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&m(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?o:"features-main-image"})}),a("div",{className:"w-full lg:w-2/3",children:[m(l,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),m(l,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}export{b as a};
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { SectionsProps, ArrayOfImageTitleAndText, FeaturedItem, Images, LabeledRoute } from "./types";
2
+ import { ArrayOfImageTitleAndText, FeaturedItem, Images, LabeledRoute, SectionsProps } from "./types";
3
3
  export interface FeaturesProps {
4
4
  caption?: string;
5
5
  title?: string;
package/dist/features.js CHANGED
@@ -1 +1 @@
1
- "use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var l in n)k(t,l,{get:n[l],enumerable:!0})},lt=(t,n,l,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of vn(n))!bn.call(t,i)&&i!==l&&k(t,i,{get:()=>n[i],enumerable:!(e=wn(n,i))||e.enumerable});return t};var F=(t,n,l)=>(l=t!=null?xn(un(t)):{},lt(n||!t||!t.__esModule?k(l,"default",{value:t,enumerable:!0}):l,t)),hn=t=>lt(k({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(P.Container,{maxWidth:1280,children:[(0,p.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(Nn,{caption:t,title:n})}),(0,p.jsx)(it.Flex,{wrap:!0,children:(0,p.jsx)(fn,{features:l})})]})})}function Nn({caption:t,title:n}){return(0,p.jsxs)(L.default.Fragment,{children:[t?(0,p.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function fn({features:t}){return t?(0,p.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,p.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,p.jsxs)("div",{className:"p-full px-4 mt-16 mb-12 md:p-1/2 lg:mb-0 lg:p-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,p.jsx)(A.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,p.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,l,e,i;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(l=t==null?void 0:t.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(i=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?i:"features-image-"})}):null}var P,it,et,ot,rt,A,L,p,st=f(()=>{"use strict";P=require("@stackshift-ui/container"),it=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),p=require("react/jsx-runtime")});var vt={};h(vt,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:l,features:e,tags:i}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsxs)(it.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"p-full mb-12 lg:mb-0 lg:p-1/2",children:(0,p.jsxs)(_.Container,{maxWidth:448,children:[(0,p.jsx)(yn,{caption:t,title:n,description:l}),(0,p.jsx)(Cn,{tags:i})]})}),(0,p.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:l}){return(0,p.jsxs)(xt.default.Fragment,{children:[t&&(0,p.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}),l&&(0,p.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:l})]})}function Cn({tags:t}){return t?(0,p.jsx)("ul",{children:t&&t.map(n=>(0,p.jsxs)("li",{className:"flex mb-4",children:[(0,p.jsx)("svg",{className:"p-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,p.jsx)(it.Flex,{wrap:!0,className:"p-full lg:p-1/2",children:t&&(t==null?void 0:t.map((n,l)=>{var e,i,a,x;return(0,p.jsx)("div",{className:`p-full px-4 mb-8 md:p-1/2 ${l%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,p.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=n==null?void 0:n.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${l}`})}),(0,p.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,p.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},l)}))}):null}var ct,_,it,et,ot,rt,A,xt,p,ut=f(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(_.Container,{maxWidth:1280,children:[(0,p.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(An,{caption:t,title:n})}),(0,p.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n}){return(0,p.jsxs)(Tt.default.Fragment,{children:[t?(0,p.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,p.jsx)(it.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,p.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,l,e,i;return(0,p.jsx)("div",{className:"p-full px-3 mb-6 lg:p-1/2",children:(0,p.jsxs)(bt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(l=t==null?void 0:t.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(i=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?i:"features-main-image"})}),(0,p.jsxs)("div",{className:"p-full lg:p-2/3",children:[(0,p.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,_,it,et,ot,rt,A,Tt,p,kt=f(()=>{"use strict";bt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(_.Container,{maxWidth:1280,children:[(0,p.jsx)(_.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,p.jsx)(Rn,{caption:t,title:n})}),(0,p.jsx)(zn,{features:l})]})})}function Rn({caption:t,title:n}){return(0,p.jsxs)(Pt.default.Fragment,{children:[t?(0,p.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,p.jsx)(it.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,p.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,l,e,i;return(0,p.jsx)("div",{className:"p-full px-4 mt-8 lg:mb-0 lg:p-1/3",children:(0,p.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(l=t==null?void 0:t.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(i=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?i:"features-image-"})}),(0,p.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,it,et,ot,rt,A,Pt,p,Ht=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,l]=V.default.useState(0);return(0,p.jsx)(rt.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsx)($t.Flex,{className:"relative",children:(0,p.jsx)(Hn,{featuredItems:t,slider:i=>{t&&(i==="next"?n!==t.length-1?l(a=>a+1):l(0):n>=1?l(a=>a-1):l(t.length-1))},children:(0,p.jsxs)("div",{className:"order-1 p-full ml-auto xl:p-4/5",children:[(0,p.jsx)(Ln,{featuredItems:t,item:n}),(0,p.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var l,e,i,a,x,g,v;return(e=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)!=null&&e.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-p-xl xl:max-p-4xl",children:(0,p.jsx)(ot.Image,{className:"relative object-cover rounded-global",src:`${(a=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(g=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:g.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var l,e,i,a,x,g;return t?(0,p.jsxs)(Wt.Card,{className:"top-0 left-0 max-p-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,p.jsx)(A.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((l=t==null?void 0:t[n])==null?void 0:l.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,p.jsx)(et.Heading,{fontSize:"3xl",children:((i=t==null?void 0:t[n])==null?void 0:i.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,p.jsx)(A.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:l}){return t?(0,p.jsxs)(V.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 A-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,p.jsx)($.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>l("prev"),children:(0,p.jsx)("svg",{className:"p-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,p.jsx)("div",{className:"absolute right-0 A-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,p.jsx)($.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>l("next"),children:(0,p.jsx)("svg",{className:"p-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var $,Wt,_,$t,et,ot,rt,A,V,p,Dt=f(()=>{"use strict";$=require("@stackshift-ui/button"),Wt=require("@stackshift-ui/card"),V=F(require("react"))});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:l,images:e,primaryButton:i}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsxs)(it.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(it.Flex,{direction:"col",className:"p-full mb-12 lg:mb-0 lg:p-1/2",children:[(0,p.jsx)(Wn,{caption:t,title:n,description:l}),(0,p.jsx)(On,{primaryButton:i})]}),(0,p.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:l}){return(0,p.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,p.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),l&&(0,p.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:l})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,p.jsx)(Et.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var l,e,i,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,g,v,u,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(ot.Image,{className:"object-cover p-full h-auto rounded-global",src:x,sizes:"100vw",width:v,height:u,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"p-full lg:p-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:p-2/3",children:((l=t[0])==null?void 0:l.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:p-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:p-1/3",children:((i=t[2])==null?void 0:i.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:p-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,_,it,et,ot,rt,A,p,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/button")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:l,images:e,tags:i}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(D.Container,{maxWidth:1280,children:(0,p.jsxs)(it.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"p-full px-4 mb-12 lg:mb-0 lg:p-1/2",children:(0,p.jsxs)(D.Container,{maxWidth:448,children:[(0,p.jsx)(jn,{caption:t,title:n,description:l}),(0,p.jsx)(Vn,{tags:i})]})}),(0,p.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:l}){return(0,p.jsxs)(nn.default.Fragment,{children:[t&&(0,p.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),l&&(0,p.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:l})]})}function Vn({tags:t}){return t?(0,p.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,p.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,p.jsxs)(it.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.jsx)("svg",{className:"p-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)("span",{children:t})]}):null}function Gn({images:t}){var l,e,i,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,g,v,u,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(ot.Image,{className:"object-cover p-full h-auto rounded-global",src:x,sizes:"100vw",width:v,height:u,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"p-full lg:p-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:p-2/3",children:((l=t[0])==null?void 0:l.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:p-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:p-1/3",children:((i=t[2])==null?void 0:i.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:p-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var D,it,et,ot,rt,A,nn,p,on=f(()=>{"use strict";D=require("@stackshift-ui/container"),nn=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:l,images:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(J.Container,{maxWidth:1280,children:(0,p.jsxs)(it.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"p-full mb-12 lg:mb-0 lg:p-1/2",children:(0,p.jsxs)(J.Container,{maxWidth:448,children:[(0,p.jsx)(Bn,{caption:t,title:n}),(0,p.jsx)(Dn,{features:l})]})}),(0,p.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,p.jsxs)(an.default.Fragment,{children:[t&&(0,p.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,p.jsx)("ul",{children:t.map(n=>(0,p.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,p.jsxs)(it.Flex,{as:"li",children:[(0,p.jsx)(qn,{}),(0,p.jsxs)("div",{className:"max-p-xs",children:[(0,p.jsx)(A.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,p.jsx)("svg",{className:"p-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,p:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,l,e,i,a,x,g,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,p.jsxs)("div",{className:"items-center p-full px-4 sm:flex md:px-0 lg:p-1/2",children:[(0,p.jsxs)("div",{className:"mb-5 sm:mb-0 sm:p-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-global",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(i=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?i:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,p.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-global",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?v:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,p.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-global sm:ml-6 sm:p-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var J,it,et,ot,rt,A,an,p,gn=f(()=>{"use strict";J=require("@stackshift-ui/container"),an=F(require("react"))});var Un={};h(Un,{Features:()=>pn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(ut(),vt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(gn(),cn)))},Qn="Features",pn=({data:t})=>{var i,a,x,g,v,u,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,l=n&&Kn[n],e={caption:(a=(i=t==null?void 0:t.variants)==null?void 0:i.caption)!=null?a:void 0,title:(g=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?g:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return l?(0,p.jsx)(l,{...e}):null};pn.displayName=Qn;0&&(module.exports={Features});
1
+ "use strict";var xn=Object.create;var I=Object.defineProperty;var un=Object.getOwnPropertyDescriptor;var wn=Object.getOwnPropertyNames;var vn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)I(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of wn(n))!bn.call(t,e)&&e!==i&&I(t,e,{get:()=>n[e],enumerable:!(l=un(n,e))||l.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(vn(t)):{},it(n||!t||!t.__esModule?I(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(I({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(P.Container,{maxWidth:1280,children:[(0,p.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(Nn,{caption:t,title:n,description:i})}),(0,p.jsx)(lt.Flex,{wrap:!0,children:(0,p.jsx)(fn,{features:l})})]})})}function Nn({caption:t,title:n,description:i}){return(0,p.jsxs)(L.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function fn({features:t}){return t?(0,p.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,p.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,p.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,p.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var P,lt,et,ot,rt,k,L,p,st=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),L=F(require("react")),p=require("react/jsx-runtime")});var wt={};h(wt,{Features_B:()=>ut,default:()=>ut});function ut({caption:t,title:n,description:i,features:l,tags:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(_.Container,{maxWidth:448,children:[(0,p.jsx)(yn,{caption:t,title:n,description:i}),(0,p.jsx)(Cn,{tags:e})]})}),(0,p.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,p.jsxs)(xt.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,p.jsx)("ul",{children:t&&t.map(n=>(0,p.jsxs)("li",{className:"flex mb-4",children:[(0,p.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,p.jsx)(lt.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,u;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,p.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?u:`features-image-${i}`})}),(0,p.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,_,lt,et,ot,rt,k,xt,p,vt=f(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(_.Container,{maxWidth:1280,children:[(0,p.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(An,{caption:t,title:n,description:i})}),(0,p.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,p.jsxs)(Tt.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,p.jsx)(lt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,p.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,p.jsxs)(bt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,p.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,_,lt,et,ot,rt,k,Tt,p,kt=f(()=>{"use strict";bt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(_.Container,{maxWidth:1280,children:[(0,p.jsx)(_.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,p.jsx)(Rn,{caption:t,title:n,description:i})}),(0,p.jsx)(zn,{features:l})]})})}function Rn({caption:t,title:n,description:i}){return(0,p.jsxs)(Pt.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,p.jsx)(lt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,p.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,p.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,lt,et,ot,rt,k,Pt,p,Ht=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,p.jsx)(rt.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsx)($t.Flex,{className:"relative",children:(0,p.jsx)(Hn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,p.jsx)(Ln,{featuredItems:t,item:n}),(0,p.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,u,g,w;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,p.jsx)(ot.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(u=t==null?void 0:t[n])==null?void 0:u.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,u,g;return t?(0,p.jsxs)(Wt.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,p.jsx)(et.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,p.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[n])==null?void 0:u.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,p.jsxs)(V.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 k-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,p.jsx)($.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"k-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,p.jsx)("div",{className:"absolute right-0 k-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,p.jsx)($.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var $,Wt,_,$t,et,ot,rt,k,V,p,Dt=f(()=>{"use strict";$=require("@stackshift-ui/button"),Wt=require("@stackshift-ui/card"),V=F(require("react"))});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(lt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Wn,{caption:t,title:n,description:i}),(0,p.jsx)(On,{primaryButton:e})]}),(0,p.jsx)($n,{images:l})]})})})}function Wn({caption:t,title:n,description:i}){return(0,p.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,p.jsx)(Et.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(ot.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,_,lt,et,ot,rt,k,p,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/button")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:l,tags:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(D.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(D.Container,{maxWidth:448,children:[(0,p.jsx)(jn,{caption:t,title:n,description:i}),(0,p.jsx)(Vn,{tags:e})]})}),(0,p.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,p.jsxs)(nn.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,p.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,p.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,p.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(ot.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var D,lt,et,ot,rt,k,nn,p,on=f(()=>{"use strict";D=require("@stackshift-ui/container"),nn=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(J.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(J.Container,{maxWidth:448,children:[(0,p.jsx)(Bn,{caption:t,title:n}),(0,p.jsx)(Dn,{features:i})]})}),(0,p.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,p.jsxs)(an.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,p.jsx)("ul",{children:t.map(n=>(0,p.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,p.jsxs)(lt.Flex,{as:"li",children:[(0,p.jsx)(qn,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,p.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,p:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,i,l,e,a,u,g,w,v,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,p.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,p.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,p.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((v=t==null?void 0:t[2])==null?void 0:v.image)&&(0,p.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var J,lt,et,ot,rt,k,an,p,pn=f(()=>{"use strict";J=require("@stackshift-ui/container"),an=F(require("react"))});var Un={};h(Un,{Features:()=>dn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(vt(),wt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pn(),cn)))},Qn="Features",dn=({data:t})=>{var e,a,u,g,w,v,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.caption)!=null?a:void 0,title:(g=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?g:void 0,description:(v=(w=t==null?void 0:t.variants)==null?void 0:w.description)!=null?v:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,p.jsx)(i,{...l}):null};dn.displayName=Qn;0&&(module.exports={Features});
package/dist/features.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-KVUWMIYP.mjs";export{a as Features};
1
+ import{a}from"./chunk-GDVSJ2UR.mjs";export{a as Features};
@@ -1,3 +1,3 @@
1
1
  import { FeaturesProps } from ".";
2
- export default function Features_A({ caption, title, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function Features_A({ caption, title, description, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
3
  export { Features_A };
@@ -1 +1 @@
1
- "use strict";var F=Object.create;var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var N=(n,m)=>{for(var t in m)a(n,t,{get:m[t],enumerable:!0})},s=(n,m,t,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let l of T(m))!w.call(n,l)&&l!==t&&a(n,l,{get:()=>m[l],enumerable:!(o=b(m,l))||o.enumerable});return n};var h=(n,m,t)=>(t=n!=null?F(y(n)):{},s(m||!n||!n.__esModule?a(t,"default",{value:n,enumerable:!0}):t,n)),A=n=>s(a({},"__esModule",{value:!0}),n);var R={};N(R,{Features_A:()=>I,default:()=>I});module.exports=A(R);var g=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),r=require("@stackshift-ui/text"),e=h(require("react")),i=require("react/jsx-runtime");function I({caption:n,title:m,features:t}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(g.Container,{maxWidth:1280,children:[(0,i.jsx)(g.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(P,{caption:n,title:m})}),(0,i.jsx)(p.Flex,{wrap:!0,children:(0,i.jsx)(k,{features:t})})]})})}function P({caption:n,title:m}){return(0,i.jsxs)(e.default.Fragment,{children:[n?(0,i.jsx)(r.Text,{weight:"bold",className:"text-secondary",children:n}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null]})}function k({features:n}){return n?(0,i.jsx)(e.default.Fragment,{children:n==null?void 0:n.map(m=>(0,i.jsx)(C,{feature:m},m._key))}):null}function C({feature:n}){var m;return(0,i.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)(S,{feature:n}):null,n!=null&&n.title?(0,i.jsx)(r.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,i.jsx)(r.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function S({feature:n}){var m,t,o,l;return(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,i.jsx)(d.Image,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(l=(o=n==null?void 0:n.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
1
+ "use strict";var F=Object.create;var e=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(n,m)=>{for(var t in m)e(n,t,{get:m[t],enumerable:!0})},g=(n,m,t,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let l of T(m))!N.call(n,l)&&l!==t&&e(n,l,{get:()=>m[l],enumerable:!(o=b(m,l))||o.enumerable});return n};var h=(n,m,t)=>(t=n!=null?F(y(n)):{},g(m||!n||!n.__esModule?e(t,"default",{value:n,enumerable:!0}):t,n)),A=n=>g(e({},"__esModule",{value:!0}),n);var R={};w(R,{Features_A:()=>I,default:()=>I});module.exports=A(R);var r=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),s=h(require("react")),i=require("react/jsx-runtime");function I({caption:n,title:m,description:t,features:o}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(r.Container,{maxWidth:1280,children:[(0,i.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(P,{caption:n,title:m,description:t})}),(0,i.jsx)(p.Flex,{wrap:!0,children:(0,i.jsx)(k,{features:o})})]})})}function P({caption:n,title:m,description:t}){return(0,i.jsxs)(s.default.Fragment,{children:[n?(0,i.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:n}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null,t?(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function k({features:n}){return n?(0,i.jsx)(s.default.Fragment,{children:n==null?void 0:n.map(m=>(0,i.jsx)(C,{feature:m},m._key))}):null}function C({feature:n}){var m;return(0,i.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)(S,{feature:n}):null,n!=null&&n.title?(0,i.jsx)(a.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,i.jsx)(a.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function S({feature:n}){var m,t,o,l;return(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,i.jsx)(d.Image,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(l=(o=n==null?void 0:n.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
@@ -1 +1 @@
1
- import{a}from"./chunk-GGPLBP3I.mjs";export{a as Features_A,a as default};
1
+ import{a}from"./chunk-J5AVUHPT.mjs";export{a as Features_A,a as default};
@@ -1,3 +1,3 @@
1
1
  import { FeaturesProps } from ".";
2
- export default function Features_C({ caption, title, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function Features_C({ caption, title, description, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
3
  export { Features_C };
@@ -1 +1 @@
1
- "use strict";var w=Object.create;var e=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var f=(t,m)=>{for(var n in m)e(t,n,{get:m[n],enumerable:!0})},s=(t,m,n,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let a of N(m))!I.call(t,a)&&a!==n&&e(t,a,{get:()=>m[a],enumerable:!(o=y(m,a))||o.enumerable});return t};var h=(t,m,n)=>(n=t!=null?w(F(t)):{},s(m||!t||!t.__esModule?e(n,"default",{value:t,enumerable:!0}):n,t)),A=t=>s(e({},"__esModule",{value:!0}),t);var S={};f(S,{Features_C:()=>T,default:()=>T});module.exports=A(S);var d=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),l=require("@stackshift-ui/text"),b=h(require("react")),i=require("react/jsx-runtime");function T({caption:t,title:m,features:n}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(r.Container,{maxWidth:1280,children:[(0,i.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(C,{caption:t,title:m})}),(0,i.jsx)(v,{features:n})]})})}function C({caption:t,title:m}){return(0,i.jsxs)(b.default.Fragment,{children:[t?(0,i.jsx)(l.Text,{weight:"bold",className:"text-secondary",children:t}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null]})}function v({features:t}){return t?(0,i.jsx)(g.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(m=>(0,i.jsx)(u,{feature:m},m._key))}):null}function u({feature:t}){var m,n,o,a;return(0,i.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,i.jsxs)(d.Card,{className:"flex flex-wrap h-full p-6",children:[(0,i.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&(0,i.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(a=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?a:"features-main-image"})}),(0,i.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,i.jsx)(l.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,i.jsx)(l.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}0&&(module.exports={Features_C});
1
+ "use strict";var N=Object.create;var o=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var f=(t,m)=>{for(var n in m)o(t,n,{get:m[n],enumerable:!0})},s=(t,m,n,l)=>{if(m&&typeof m=="object"||typeof m=="function")for(let e of y(m))!I.call(t,e)&&e!==n&&o(t,e,{get:()=>m[e],enumerable:!(l=w(m,e))||l.enumerable});return t};var h=(t,m,n)=>(n=t!=null?N(F(t)):{},s(m||!t||!t.__esModule?o(n,"default",{value:t,enumerable:!0}):n,t)),u=t=>s(o({},"__esModule",{value:!0}),t);var S={};f(S,{Features_C:()=>T,default:()=>T});module.exports=u(S);var d=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),b=h(require("react")),i=require("react/jsx-runtime");function T({caption:t,title:m,description:n,features:l}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(r.Container,{maxWidth:1280,children:[(0,i.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(A,{caption:t,title:m,description:n})}),(0,i.jsx)(C,{features:l})]})})}function A({caption:t,title:m,description:n}){return(0,i.jsxs)(b.default.Fragment,{children:[t?(0,i.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:t}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null,n?(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function C({features:t}){return t?(0,i.jsx)(g.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(m=>(0,i.jsx)(v,{feature:m},m._key))}):null}function v({feature:t}){var m,n,l,e;return(0,i.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,i.jsxs)(d.Card,{className:"flex flex-wrap h-full p-6",children:[(0,i.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&(0,i.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,i.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,i.jsx)(a.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,i.jsx)(a.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}0&&(module.exports={Features_C});
@@ -1 +1 @@
1
- import{a}from"./chunk-VJX6I62Q.mjs";export{a as Features_C,a as default};
1
+ import{a}from"./chunk-WGYOMYCJ.mjs";export{a as Features_C,a as default};
@@ -1,3 +1,3 @@
1
1
  import { FeaturesProps } from ".";
2
- export default function Features_D({ caption, title, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function Features_D({ caption, title, description, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
3
  export { Features_D };
@@ -1 +1 @@
1
- "use strict";var y=Object.create;var r=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(t,i)=>{for(var n in i)r(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of I(i))!N.call(t,o)&&o!==n&&r(t,o,{get:()=>i[o],enumerable:!(e=F(i,o))||e.enumerable});return t};var A=(t,i,n)=>(n=t!=null?y(h(t)):{},s(i||!t||!t.__esModule?r(n,"default",{value:t,enumerable:!0}):n,t)),C=t=>s(r({},"__esModule",{value:!0}),t);var v={};w(v,{Features_D:()=>b,default:()=>b});module.exports=C(v);var g=require("@stackshift-ui/card"),l=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),T=A(require("react")),m=require("react/jsx-runtime");function b({caption:t,title:i,features:n}){return(0,m.jsx)(x.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(l.Container,{maxWidth:1280,children:[(0,m.jsx)(l.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(f,{caption:t,title:i})}),(0,m.jsx)(S,{features:n})]})})}function f({caption:t,title:i}){return(0,m.jsxs)(T.default.Fragment,{children:[t?(0,m.jsx)(a.Text,{weight:"bold",className:"text-primary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null]})}function S({features:t}){return t?(0,m.jsx)(p.Flex,{wrap:!0,justify:"center",children:t.map(i=>(0,m.jsx)(k,{feature:i},i._key))}):null}function k({feature:t}){var i,n,e,o;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(g.Card,{className:"h-full px-6 py-12 text-center",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(d.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?o:"features-image-"})}),(0,m.jsx)(a.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(a.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
1
+ "use strict";var y=Object.create;var l=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var w=(t,i)=>{for(var n in i)l(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of I(i))!h.call(t,e)&&e!==n&&l(t,e,{get:()=>i[e],enumerable:!(o=F(i,e))||o.enumerable});return t};var A=(t,i,n)=>(n=t!=null?y(N(t)):{},s(i||!t||!t.__esModule?l(n,"default",{value:t,enumerable:!0}):n,t)),C=t=>s(l({},"__esModule",{value:!0}),t);var k={};w(k,{Features_D:()=>b,default:()=>b});module.exports=C(k);var d=require("@stackshift-ui/card"),a=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),r=require("@stackshift-ui/text"),T=A(require("react")),m=require("react/jsx-runtime");function b({caption:t,title:i,description:n,features:o}){return(0,m.jsx)(x.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(a.Container,{maxWidth:1280,children:[(0,m.jsx)(a.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(f,{caption:t,title:i,description:n})}),(0,m.jsx)(u,{features:o})]})})}function f({caption:t,title:i,description:n}){return(0,m.jsxs)(T.default.Fragment,{children:[t?(0,m.jsx)(r.Text,{weight:"bold",className:"text-primary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,n?(0,m.jsx)(r.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function u({features:t}){return t?(0,m.jsx)(g.Flex,{wrap:!0,justify:"center",children:t.map(i=>(0,m.jsx)(S,{feature:i},i._key))}):null}function S({feature:t}){var i,n,o,e;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(d.Card,{className:"h-full px-6 py-12 text-center",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?e:"features-image-"})}),(0,m.jsx)(r.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(r.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
@@ -1 +1 @@
1
- import{a}from"./chunk-PLE2ZDCT.mjs";export{a as Features_D,a as default};
1
+ import{a}from"./chunk-EZOHFSWE.mjs";export{a as Features_D,a as default};
@@ -1 +1 @@
1
- "use strict";var S=Object.create;var c=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var R=(o,l)=>{for(var n in l)c(o,n,{get:l[n],enumerable:!0})},w=(o,l,n,r)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of L(l))!B.call(o,t)&&t!==n&&c(o,t,{get:()=>l[t],enumerable:!(r=d(l,t))||r.enumerable});return o};var y=(o,l,n)=>(n=o!=null?S(z(o)):{},w(l||!o||!o.__esModule?c(n,"default",{value:o,enumerable:!0}):n,o)),H=o=>w(c({},"__esModule",{value:!0}),o);var j={};R(j,{Features_E:()=>C,default:()=>C});module.exports=H(j);var g=require("@stackshift-ui/button"),v=require("@stackshift-ui/card"),b=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),F=require("@stackshift-ui/image"),k=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),s=y(require("react")),i=require("react/jsx-runtime");function C({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(k.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,i.jsx)(b.Container,{maxWidth:1280,children:(0,i.jsx)(e.Flex,{className:"relative",children:(0,i.jsx)(W,{featuredItems:o,slider:t=>{o&&(t==="next"?l!==o.length-1?n(x=>x+1):n(0):l>=1?n(x=>x-1):n(o.length-1))},children:(0,i.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,i.jsx)(P,{featuredItems:o,item:l}),(0,i.jsx)(T,{featuredItems:o,item:l})]})})})})})}function P({featuredItems:o,item:l}){var n,r,t,x,m,a,h;return(r=(n=o==null?void 0:o[l])==null?void 0:n.mainImage)!=null&&r.image?(0,i.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,i.jsx)(F.Image,{className:"relative object-cover rounded-global",src:`${(x=(t=o==null?void 0:o[l])==null?void 0:t.mainImage)==null?void 0:x.image}`,sizes:"100vw",width:896,height:575,alt:(h=(a=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:a.alt)!=null?h:`features-image-${l}`})}):null}function T({featuredItems:o,item:l}){var n,r,t,x,m,a;return o?(0,i.jsxs)(v.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,i.jsx)(p.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[l])==null?void 0:n.subtitle)&&((r=o==null?void 0:o[l])==null?void 0:r.subtitle)}),(0,i.jsx)(N.Heading,{fontSize:"3xl",children:((t=o==null?void 0:o[l])==null?void 0:t.title)&&((x=o==null?void 0:o[l])==null?void 0:x.title)}),(0,i.jsx)(p.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[l])==null?void 0:m.description)&&((a=o==null?void 0:o[l])==null?void 0:a.description)})]}):null}function W({featuredItems:o,children:l,slider:n}){return o?(0,i.jsxs)(s.default.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,i.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}0&&(module.exports={Features_E});
1
+ "use strict";var d=Object.create;var a=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var R=(o,l)=>{for(var n in l)a(o,n,{get:l[n],enumerable:!0})},w=(o,l,n,r)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of L(l))!B.call(o,t)&&t!==n&&a(o,t,{get:()=>l[t],enumerable:!(r=S(l,t))||r.enumerable});return o};var y=(o,l,n)=>(n=o!=null?d(z(o)):{},w(l||!o||!o.__esModule?a(n,"default",{value:o,enumerable:!0}):n,o)),H=o=>w(a({},"__esModule",{value:!0}),o);var j={};R(j,{Features_E:()=>C,default:()=>C});module.exports=H(j);var g=require("@stackshift-ui/button"),v=require("@stackshift-ui/card"),b=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),F=require("@stackshift-ui/image"),k=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),s=y(require("react")),i=require("react/jsx-runtime");function C({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(k.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,i.jsx)(b.Container,{maxWidth:1280,children:(0,i.jsx)(e.Flex,{className:"relative",children:(0,i.jsx)(W,{featuredItems:o,slider:t=>{o&&(t==="next"?l!==o.length-1?n(x=>x+1):n(0):l>=1?n(x=>x-1):n(o.length-1))},children:(0,i.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,i.jsx)(P,{featuredItems:o,item:l}),(0,i.jsx)(T,{featuredItems:o,item:l})]})})})})})}function P({featuredItems:o,item:l}){var n,r,t,x,m,c,h;return(r=(n=o==null?void 0:o[l])==null?void 0:n.mainImage)!=null&&r.image?(0,i.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,i.jsx)(F.Image,{className:"relative object-cover rounded-md",src:`${(x=(t=o==null?void 0:o[l])==null?void 0:t.mainImage)==null?void 0:x.image}`,sizes:"100vw",width:896,height:575,alt:(h=(c=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?h:`features-image-${l}`})}):null}function T({featuredItems:o,item:l}){var n,r,t,x,m,c;return o?(0,i.jsxs)(v.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,i.jsx)(p.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[l])==null?void 0:n.subtitle)&&((r=o==null?void 0:o[l])==null?void 0:r.subtitle)}),(0,i.jsx)(N.Heading,{fontSize:"3xl",children:((t=o==null?void 0:o[l])==null?void 0:t.title)&&((x=o==null?void 0:o[l])==null?void 0:x.title)}),(0,i.jsx)(p.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[l])==null?void 0:m.description)&&((c=o==null?void 0:o[l])==null?void 0:c.description)})]}):null}function W({featuredItems:o,children:l,slider:n}){return o?(0,i.jsxs)(s.default.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,i.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}0&&(module.exports={Features_E});
@@ -1 +1 @@
1
- import{a}from"./chunk-L75Y6DJF.mjs";export{a as Features_E,a as default};
1
+ import{a}from"./chunk-UZBEJEEL.mjs";export{a as Features_E,a as default};
@@ -1 +1 @@
1
- "use strict";var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var I=(e,a)=>{for(var t in a)r(e,t,{get:a[t],enumerable:!0})},T=(e,a,t,n)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of F(a))!C.call(e,i)&&i!==t&&r(e,i,{get:()=>a[i],enumerable:!(n=p(a,i))||n.enumerable});return e};var k=e=>T(r({},"__esModule",{value:!0}),e);var H={};I(H,{Features_F:()=>x,default:()=>x});module.exports=k(H);var c=require("@stackshift-ui/button"),m=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),b=require("@stackshift-ui/image"),u=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function x({caption:e,title:a,description:t,images:n,primaryButton:i}){return(0,l.jsx)(u.Section,{className:"py-20 bg-background",children:(0,l.jsx)(m.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(d.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(L,{caption:e,title:a,description:t}),(0,l.jsx)(S,{primaryButton:i})]}),(0,l.jsx)(z,{images:n})]})})})}function L({caption:e,title:a,description:t}){return(0,l.jsxs)(m.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&(0,l.jsx)(g.Heading,{fontSize:"3xl",className:"mb-6",children:a}),t&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose",children:t})]})}function S({primaryButton:e}){return e!=null&&e.label?(0,l.jsx)(c.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}):null}function z({images:e}){var t,n,i,f;if(!e||(e==null?void 0:e.length)===0)return null;function a(v,o,h,w,N){return(0,l.jsx)("div",{className:`overflow-hidden ${N}`,children:(0,l.jsx)(b.Image,{className:"object-cover w-full h-auto rounded-global",src:v,sizes:"100vw",width:h,height:w,alt:o!=null?o:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((t=e[0])==null?void 0:t.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((i=e[2])==null?void 0:i.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((f=e[3])==null?void 0:f.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
1
+ "use strict";var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var I=(e,a)=>{for(var t in a)r(e,t,{get:a[t],enumerable:!0})},T=(e,a,t,n)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of F(a))!C.call(e,i)&&i!==t&&r(e,i,{get:()=>a[i],enumerable:!(n=p(a,i))||n.enumerable});return e};var k=e=>T(r({},"__esModule",{value:!0}),e);var H={};I(H,{Features_F:()=>x,default:()=>x});module.exports=k(H);var c=require("@stackshift-ui/button"),m=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),u=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function x({caption:e,title:a,description:t,images:n,primaryButton:i}){return(0,l.jsx)(b.Section,{className:"py-20 bg-background",children:(0,l.jsx)(m.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(d.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(L,{caption:e,title:a,description:t}),(0,l.jsx)(S,{primaryButton:i})]}),(0,l.jsx)(z,{images:n})]})})})}function L({caption:e,title:a,description:t}){return(0,l.jsxs)(m.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&(0,l.jsx)(g.Heading,{fontSize:"3xl",className:"mb-6",children:a}),t&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose",children:t})]})}function S({primaryButton:e}){return e!=null&&e.label?(0,l.jsx)(c.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}):null}function z({images:e}){var t,n,i,f;if(!e||(e==null?void 0:e.length)===0)return null;function a(v,o,h,w,N){return(0,l.jsx)("div",{className:`overflow-hidden ${N}`,children:(0,l.jsx)(u.Image,{className:"object-cover w-full h-auto rounded-md",src:v,sizes:"100vw",width:h,height:w,alt:o!=null?o:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((t=e[0])==null?void 0:t.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((i=e[2])==null?void 0:i.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((f=e[3])==null?void 0:f.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
@@ -1 +1 @@
1
- import{a}from"./chunk-BD6NAK3H.mjs";export{a as Features_F,a as default};
1
+ import{a}from"./chunk-CH65ARWJ.mjs";export{a as Features_F,a as default};
@@ -1 +1 @@
1
- "use strict";var F=Object.create;var i=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})},g=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of I(t))!C.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=y(t,a))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?F(z(e)):{},g(t||!e||!e.__esModule?i(r,"default",{value:e,enumerable:!0}):r,e)),S=e=>g(i({},"__esModule",{value:!0}),e);var W={};R(W,{Features_G:()=>x,default:()=>x});module.exports=S(W);var m=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),f=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),v=T(require("react")),l=require("react/jsx-runtime");function x({caption:e,title:t,description:r,images:n,tags:a}){return(0,l.jsx)(p.Section,{className:"py-20 bg-background",children:(0,l.jsx)(m.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(m.Container,{maxWidth:448,children:[(0,l.jsx)(G,{caption:e,title:t,description:r}),(0,l.jsx)(H,{tags:a})]})}),(0,l.jsx)(P,{images:n})]})})})}function G({caption:e,title:t,description:r}){return(0,l.jsxs)(v.default.Fragment,{children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(c.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function H({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(L,{item:t}))}):null}function L({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function P({images:e}){var r,n,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(w,o,b,h,N){return(0,l.jsx)("div",{className:`overflow-hidden ${N}`,children:(0,l.jsx)(f.Image,{className:"object-cover w-full h-auto rounded-global",src:w,sizes:"100vw",width:b,height:h,alt:o!=null?o:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
1
+ "use strict";var F=Object.create;var i=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})},g=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of I(t))!C.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=y(t,a))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?F(z(e)):{},g(t||!e||!e.__esModule?i(r,"default",{value:e,enumerable:!0}):r,e)),S=e=>g(i({},"__esModule",{value:!0}),e);var W={};R(W,{Features_G:()=>x,default:()=>x});module.exports=S(W);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),f=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),v=T(require("react")),l=require("react/jsx-runtime");function x({caption:e,title:t,description:r,images:n,tags:a}){return(0,l.jsx)(p.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(G,{caption:e,title:t,description:r}),(0,l.jsx)(H,{tags:a})]})}),(0,l.jsx)(P,{images:n})]})})})}function G({caption:e,title:t,description:r}){return(0,l.jsxs)(v.default.Fragment,{children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(c.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function H({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(L,{item:t}))}):null}function L({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function P({images:e}){var r,n,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(w,m,h,b,N){return(0,l.jsx)("div",{className:`overflow-hidden ${N}`,children:(0,l.jsx)(f.Image,{className:"object-cover w-full h-auto rounded-md",src:w,sizes:"100vw",width:h,height:b,alt:m!=null?m:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
@@ -1 +1 @@
1
- import{a}from"./chunk-GL45B7XR.mjs";export{a as Features_G,a as default};
1
+ import{a}from"./chunk-VMJMULYP.mjs";export{a as Features_G,a as default};
@@ -1 +1 @@
1
- "use strict";var k=Object.create;var d=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var o in n)d(t,o,{get:n[o],enumerable:!0})},N=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of I(n))!z.call(t,l)&&l!==o&&d(t,l,{get:()=>n[l],enumerable:!(e=A(n,l))||e.enumerable});return t};var j=(t,n,o)=>(o=t!=null?k(C(t)):{},N(n||!t||!t.__esModule?d(o,"default",{value:t,enumerable:!0}):o,t)),H=t=>N(d({},"__esModule",{value:!0}),t);var P={};S(P,{Features_H:()=>F,default:()=>F});module.exports=H(P);var m=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),s=require("@stackshift-ui/heading"),i=require("@stackshift-ui/image"),T=require("@stackshift-ui/section"),c=require("@stackshift-ui/text"),y=j(require("react")),r=require("react/jsx-runtime");function F({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(T.Section,{className:"py-20 bg-background",children:(0,r.jsx)(m.Container,{maxWidth:1280,children:(0,r.jsxs)(a.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(m.Container,{maxWidth:448,children:[(0,r.jsx)(L,{caption:t,title:n}),(0,r.jsx)(O,{features:o})]})}),(0,r.jsx)($,{images:e})]})})})}function L({caption:t,title:n}){return(0,r.jsxs)(y.default.Fragment,{children:[t&&(0,r.jsx)(c.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(s.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function O({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(V,{feature:n},n._key))})}function V({feature:t}){return t?(0,r.jsxs)(a.Flex,{as:"li",children:[(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(c.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(c.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function W(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $({images:t}){var n,o,e,l,w,x,p,h,u,v,f,b;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(i.Image,{className:"object-cover overflow-hidden rounded-global",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((w=t==null?void 0:t[1])==null?void 0:w.image)&&(0,r.jsx)(i.Image,{className:"object-cover mt-6 overflow-hidden rounded-global",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(h=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?h:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,r.jsx)(i.Image,{className:"object-cover overflow-hidden rounded-global sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(b=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?b:"features-image-3"})]})}0&&(module.exports={Features_H});
1
+ "use strict";var k=Object.create;var d=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var o in n)d(t,o,{get:n[o],enumerable:!0})},b=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of I(n))!z.call(t,l)&&l!==o&&d(t,l,{get:()=>n[l],enumerable:!(e=A(n,l))||e.enumerable});return t};var j=(t,n,o)=>(o=t!=null?k(C(t)):{},b(n||!t||!t.__esModule?d(o,"default",{value:t,enumerable:!0}):o,t)),H=t=>b(d({},"__esModule",{value:!0}),t);var P={};S(P,{Features_H:()=>F,default:()=>F});module.exports=H(P);var c=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),s=require("@stackshift-ui/heading"),i=require("@stackshift-ui/image"),T=require("@stackshift-ui/section"),m=require("@stackshift-ui/text"),y=j(require("react")),r=require("react/jsx-runtime");function F({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(T.Section,{className:"py-20 bg-background",children:(0,r.jsx)(c.Container,{maxWidth:1280,children:(0,r.jsxs)(a.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(c.Container,{maxWidth:448,children:[(0,r.jsx)(L,{caption:t,title:n}),(0,r.jsx)(O,{features:o})]})}),(0,r.jsx)($,{images:e})]})})})}function L({caption:t,title:n}){return(0,r.jsxs)(y.default.Fragment,{children:[t&&(0,r.jsx)(m.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(s.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function O({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(V,{feature:n},n._key))})}function V({feature:t}){return t?(0,r.jsxs)(a.Flex,{as:"li",children:[(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(m.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(m.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function W(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $({images:t}){var n,o,e,l,w,x,p,h,u,v,f,N;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(i.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((w=t==null?void 0:t[1])==null?void 0:w.image)&&(0,r.jsx)(i.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(h=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?h:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,r.jsx)(i.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(N=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?N:"features-image-3"})]})}0&&(module.exports={Features_H});
@@ -1 +1 @@
1
- import{a}from"./chunk-5WUEW27K.mjs";export{a as Features_H,a as default};
1
+ import{a}from"./chunk-AN3PFBVX.mjs";export{a as Features_H,a as default};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var vn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var l in n)k(t,l,{get:n[l],enumerable:!0})},bt=(t,n,l,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of un(n))!bn.call(t,i)&&i!==l&&k(t,i,{get:()=>n[i],enumerable:!(o=wn(n,i))||o.enumerable});return t};var F=(t,n,l)=>(l=t!=null?xn(vn(t)):{},bt(n||!t||!t.__esModule?k(l,"default",{value:t,enumerable:!0}):l,t)),hn=t=>bt(k({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,features:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(fn,{caption:t,title:n})}),(0,g.jsx)(ht.Flex,{wrap:!0,children:(0,g.jsx)(Nn,{features:l})})]})})}function fn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Nn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 mt-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,l,o,i;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(l=t==null?void 0:t.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(i=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?i:"features-image-"})}):null}var P,ht,ft,Nt,Ft,A,L,g,H=N(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),ft=require("@stackshift-ui/heading"),Nt=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:l,features:o,tags:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:l}),(0,g.jsx)(Cn,{tags:i})]})}),(0,g.jsx)(kn,{features:o})]})})})}function yn({caption:t,title:n,description:l}){return(0,g.jsxs)(St.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}),l&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:l})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,l)=>{var o,i,a,x;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${l%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((o=n==null?void 0:n.mainImage)==null?void 0:o.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=n==null?void 0:n.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${l}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},l)}))}):null}var yt,W,ht,ft,Nt,Ft,A,St,g,j=N(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,features:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Ht.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,l,o,i;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(Rt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(l=t==null?void 0:t.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(i=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?i:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,W,ht,ft,Nt,Ft,A,Ht,g,G=N(()=>{"use strict";Rt=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,features:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:l})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Gt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,l,o,i;return(0,g.jsx)("div",{className:"g-full px-4 mt-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(l=t==null?void 0:t.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(i=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?i:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,ft,Nt,Ft,A,Gt,g,E=N(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,l]=K.default.useState(0);return(0,g.jsx)(Ft.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsx)(ht.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:i=>{t&&(i==="next"?n!==t.length-1?l(a=>a+1):l(0):n>=1?l(a=>a-1):l(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var l,o,i,a,x,p,u;return(o=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)!=null&&o.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)(Nt.Image,{className:"relative object-cover rounded-global",src:`${(a=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var l,o,i,a,x,p;return t?(0,g.jsxs)(Dt.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((l=t==null?void 0:t[n])==null?void 0:l.subtitle)&&((o=t==null?void 0:t[n])==null?void 0:o.subtitle)}),(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:((i=t==null?void 0:t[n])==null?void 0:i.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)(A.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:l}){return t?(0,g.jsxs)(K.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(q.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>l("prev"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(q.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>l("next"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var q,Dt,W,ht,ft,Nt,Ft,A,K,g,U=N(()=>{"use strict";q=require("@stackshift-ui/button"),Dt=require("@stackshift-ui/card"),K=F(require("react"))});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:l,images:o,primaryButton:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(ht.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:l}),(0,g.jsx)(On,{primaryButton:i})]}),(0,g.jsx)($n,{images:o})]})})})}function Wn({caption:t,title:n,description:l}){return(0,g.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n}),l&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:l})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(Xt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var l,o,i,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,u,v,b){return(0,g.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto rounded-global",src:x,sizes:"100vw",width:u,height:v,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((l=t[0])==null?void 0:l.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((o=t[1])==null?void 0:o.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((i=t[2])==null?void 0:i.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,W,ht,ft,Nt,Ft,A,g,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/button")});var mn={};h(mn,{Features_G:()=>et,default:()=>et});function et({caption:t,title:n,description:l,images:o,tags:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(lt.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(lt.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:l}),(0,g.jsx)(Vn,{tags:i})]})}),(0,g.jsx)(Gn,{images:o})]})})})}function jn({caption:t,title:n,description:l}){return(0,g.jsxs)(rn.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-3",children:n}),l&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:l})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var l,o,i,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,u,v,b){return(0,g.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto rounded-global",src:x,sizes:"100vw",width:u,height:v,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((l=t[0])==null?void 0:l.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((o=t[1])==null?void 0:o.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((i=t[2])==null?void 0:i.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var lt,ht,ft,Nt,Ft,A,rn,g,rt=N(()=>{"use strict";lt=require("@stackshift-ui/container"),rn=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:l,images:o}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(mt.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(mt.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:l})]})}),(0,g.jsx)(Jn,{images:o})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(cn.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,l,o,i,a,x,p,u,v,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-global",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(i=(o=t==null?void 0:t[0])==null?void 0:o.alt)!=null?i:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover mt-6 overflow-hidden rounded-global",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((v=t==null?void 0:t[2])==null?void 0:v.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-global sm:ml-6 sm:g-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var mt,ht,ft,Nt,Ft,A,cn,g,ct=N(()=>{"use strict";mt=require("@stackshift-ui/container"),cn=F(require("react"))});var Un={};h(Un,{Features:()=>gn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>et,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",gn=({data:t})=>{var i,a,x,p,u,v,b,y,C,pt,gt,dt,xt,wt,ut,vt;let n=t==null?void 0:t.variant,l=n&&Kn[n],o={caption:(a=(i=t==null?void 0:t.variants)==null?void 0:i.caption)!=null?a:void 0,title:(p=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?p:void 0,description:(v=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?v:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(dt=(gt=t==null?void 0:t.variants)==null?void 0:gt.featuredItems)!=null?dt:void 0,images:(wt=(xt=t==null?void 0:t.variants)==null?void 0:xt.images)!=null?wt:void 0,primaryButton:(vt=(ut=t==null?void 0:t.variants)==null?void 0:ut.primaryButton)!=null?vt:void 0};return l?(0,g.jsx)(l,{...o}):null};gn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
2
+ "use strict";var xn=Object.create;var I=Object.defineProperty;var un=Object.getOwnPropertyDescriptor;var wn=Object.getOwnPropertyNames;var vn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)I(t,i,{get:n[i],enumerable:!0})},bt=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of wn(n))!bn.call(t,e)&&e!==i&&I(t,e,{get:()=>n[e],enumerable:!(l=un(n,e))||l.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(vn(t)):{},bt(n||!t||!t.__esModule?I(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>bt(I({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(P.Container,{maxWidth:1280,children:[(0,p.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(fn,{caption:t,title:n,description:i})}),(0,p.jsx)(ht.Flex,{wrap:!0,children:(0,p.jsx)(Nn,{features:l})})]})})}function fn({caption:t,title:n,description:i}){return(0,p.jsxs)(L.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Nn({features:t}){return t?(0,p.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,p.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,p.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,p.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var P,ht,ft,Nt,Ft,k,L,p,H=N(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),ft=require("@stackshift-ui/heading"),Nt=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),L=F(require("react")),p=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:l,tags:e}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(W.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(W.Container,{maxWidth:448,children:[(0,p.jsx)(yn,{caption:t,title:n,description:i}),(0,p.jsx)(Cn,{tags:e})]})}),(0,p.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,p.jsxs)(St.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,p.jsx)("ul",{children:t&&t.map(n=>(0,p.jsxs)("li",{className:"flex mb-4",children:[(0,p.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,p.jsx)(ht.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,u;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,p.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?u:`features-image-${i}`})}),(0,p.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,W,ht,ft,Nt,Ft,k,St,p,j=N(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(W.Container,{maxWidth:1280,children:[(0,p.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(An,{caption:t,title:n,description:i})}),(0,p.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,p.jsxs)(Ht.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,p.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,p.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,p.jsxs)(Rt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,p.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,W,ht,ft,Nt,Ft,k,Ht,p,G=N(()=>{"use strict";Rt=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(W.Container,{maxWidth:1280,children:[(0,p.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,p.jsx)(Rn,{caption:t,title:n,description:i})}),(0,p.jsx)(zn,{features:l})]})})}function Rn({caption:t,title:n,description:i}){return(0,p.jsxs)(Gt.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,p.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,p.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,p.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,ft,Nt,Ft,k,Gt,p,E=N(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,p.jsx)(Ft.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(W.Container,{maxWidth:1280,children:(0,p.jsx)(ht.Flex,{className:"relative",children:(0,p.jsx)(Hn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,p.jsx)(Ln,{featuredItems:t,item:n}),(0,p.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,u,g,w;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,p.jsx)(Nt.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(u=t==null?void 0:t[n])==null?void 0:u.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,u,g;return t?(0,p.jsxs)(Dt.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,p.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[n])==null?void 0:u.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,p.jsxs)(K.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 k-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,p.jsx)(q.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"k-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,p.jsx)("div",{className:"absolute right-0 k-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,p.jsx)(q.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var q,Dt,W,ht,ft,Nt,Ft,k,K,p,U=N(()=>{"use strict";q=require("@stackshift-ui/button"),Dt=require("@stackshift-ui/card"),K=F(require("react"))});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(W.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(ht.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Wn,{caption:t,title:n,description:i}),(0,p.jsx)(On,{primaryButton:e})]}),(0,p.jsx)($n,{images:l})]})})})}function Wn({caption:t,title:n,description:i}){return(0,p.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,p.jsx)(Xt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(Nt.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,W,ht,ft,Nt,Ft,k,p,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/button")});var mn={};h(mn,{Features_G:()=>ot,default:()=>ot});function ot({caption:t,title:n,description:i,images:l,tags:e}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(it.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(it.Container,{maxWidth:448,children:[(0,p.jsx)(jn,{caption:t,title:n,description:i}),(0,p.jsx)(Vn,{tags:e})]})}),(0,p.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,p.jsxs)(rn.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,p.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,p.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,p.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(Nt.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var it,ht,ft,Nt,Ft,k,rn,p,rt=N(()=>{"use strict";it=require("@stackshift-ui/container"),rn=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(mt.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(mt.Container,{maxWidth:448,children:[(0,p.jsx)(Bn,{caption:t,title:n}),(0,p.jsx)(Dn,{features:i})]})}),(0,p.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,p.jsxs)(cn.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,p.jsx)("ul",{children:t.map(n=>(0,p.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,p.jsxs)(ht.Flex,{as:"li",children:[(0,p.jsx)(qn,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,p.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,p:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,i,l,e,a,u,g,w,v,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,p.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,p.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,p.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,p.jsx)(Nt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((v=t==null?void 0:t[2])==null?void 0:v.image)&&(0,p.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var mt,ht,ft,Nt,Ft,k,cn,p,ct=N(()=>{"use strict";mt=require("@stackshift-ui/container"),cn=F(require("react"))});var Un={};h(Un,{Features:()=>dn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>ot,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",dn=({data:t})=>{var e,a,u,g,w,v,b,y,C,pt,dt,gt,xt,ut,wt,vt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.caption)!=null?a:void 0,title:(g=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?g:void 0,description:(v=(w=t==null?void 0:t.variants)==null?void 0:w.description)!=null?v:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(gt=(dt=t==null?void 0:t.variants)==null?void 0:dt.featuredItems)!=null?gt:void 0,images:(ut=(xt=t==null?void 0:t.variants)==null?void 0:xt.images)!=null?ut:void 0,primaryButton:(vt=(wt=t==null?void 0:t.variants)==null?void 0:wt.primaryButton)!=null?vt:void 0};return i?(0,p.jsx)(i,{...l}):null};dn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as p}from"./chunk-GL45B7XR.mjs";import{a as x}from"./chunk-5WUEW27K.mjs";import{a as c}from"./chunk-KVUWMIYP.mjs";import{a as o}from"./chunk-GGPLBP3I.mjs";import{a as r}from"./chunk-JLMJ5WKU.mjs";import{a as e}from"./chunk-VJX6I62Q.mjs";import{a as t}from"./chunk-PLE2ZDCT.mjs";import{a as f}from"./chunk-L75Y6DJF.mjs";import{a as m}from"./chunk-BD6NAK3H.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
2
+ "use strict";import{a as p}from"./chunk-VMJMULYP.mjs";import{a as x}from"./chunk-AN3PFBVX.mjs";import{a as c}from"./chunk-GDVSJ2UR.mjs";import{a as o}from"./chunk-J5AVUHPT.mjs";import{a as r}from"./chunk-JLMJ5WKU.mjs";import{a as e}from"./chunk-WGYOMYCJ.mjs";import{a as t}from"./chunk-EZOHFSWE.mjs";import{a as f}from"./chunk-UZBEJEEL.mjs";import{a as m}from"./chunk-CH65ARWJ.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/features",
3
3
  "description": "",
4
- "version": "6.0.4",
4
+ "version": "6.0.5-beta.0",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -35,13 +35,13 @@
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
37
  "@stackshift-ui/scripts": "6.0.2",
38
- "@stackshift-ui/system": "6.0.3",
39
38
  "@stackshift-ui/heading": "6.0.3",
39
+ "@stackshift-ui/system": "6.0.3",
40
40
  "@stackshift-ui/text": "6.0.3",
41
- "@stackshift-ui/image": "6.0.3",
42
41
  "@stackshift-ui/button": "6.0.3",
43
42
  "@stackshift-ui/section": "6.0.3",
44
43
  "@stackshift-ui/card": "6.0.3",
44
+ "@stackshift-ui/image": "6.0.3",
45
45
  "@stackshift-ui/container": "6.0.3",
46
46
  "@stackshift-ui/flex": "6.0.3"
47
47
  },
package/src/features.tsx CHANGED
@@ -1,11 +1,11 @@
1
1
  import React, { lazy } from "react";
2
2
 
3
3
  import {
4
- SectionsProps,
5
4
  ArrayOfImageTitleAndText,
6
5
  FeaturedItem,
7
6
  Images,
8
7
  LabeledRoute,
8
+ SectionsProps,
9
9
  } from "./types";
10
10
 
11
11
  const Variants = {
@@ -17,12 +17,12 @@ interface FeatureItemProps {
17
17
  };
18
18
  }
19
19
 
20
- export default function Features_A({ caption, title, features }: FeaturesProps) {
20
+ export default function Features_A({ caption, title, description, features }: FeaturesProps) {
21
21
  return (
22
22
  <Section className="py-20 bg-background">
23
23
  <Container maxWidth={1280}>
24
24
  <Container maxWidth={448} className="mb-16 text-center ">
25
- <CaptionAndTitleText caption={caption} title={title} />
25
+ <CaptionAndTitleText caption={caption} title={title} description={description} />
26
26
  </Container>
27
27
  <Flex wrap>
28
28
  <FeatureItems features={features} />
@@ -32,7 +32,15 @@ export default function Features_A({ caption, title, features }: FeaturesProps)
32
32
  );
33
33
  }
34
34
 
35
- function CaptionAndTitleText({ caption, title }: { caption?: string; title?: string }) {
35
+ function CaptionAndTitleText({
36
+ caption,
37
+ title,
38
+ description,
39
+ }: {
40
+ caption?: string;
41
+ title?: string;
42
+ description?: string;
43
+ }) {
36
44
  return (
37
45
  <React.Fragment>
38
46
  {caption ? (
@@ -41,6 +49,11 @@ function CaptionAndTitleText({ caption, title }: { caption?: string; title?: str
41
49
  </Text>
42
50
  ) : null}
43
51
  {title ? <Heading fontSize="3xl">{title}</Heading> : null}
52
+ {description ? (
53
+ <Text muted className="mb-6 leading-loose">
54
+ {description}
55
+ </Text>
56
+ ) : null}
44
57
  </React.Fragment>
45
58
  );
46
59
  }
@@ -9,12 +9,12 @@ import React from "react";
9
9
  import { FeaturesProps } from ".";
10
10
  import { ArrayOfImageTitleAndText } from "./types";
11
11
 
12
- export default function Features_C({ caption, title, features }: FeaturesProps) {
12
+ export default function Features_C({ caption, title, description, features }: FeaturesProps) {
13
13
  return (
14
14
  <Section className="py-20 bg-background">
15
15
  <Container maxWidth={1280}>
16
16
  <Container maxWidth={448} className="mb-16 text-center ">
17
- <CaptionAndTitleSection caption={caption} title={title} />
17
+ <CaptionAndTitleSection caption={caption} title={title} description={description} />
18
18
  </Container>
19
19
  <FeatureItems features={features} />
20
20
  </Container>
@@ -22,7 +22,15 @@ export default function Features_C({ caption, title, features }: FeaturesProps)
22
22
  );
23
23
  }
24
24
 
25
- function CaptionAndTitleSection({ caption, title }: { caption?: string; title?: string }) {
25
+ function CaptionAndTitleSection({
26
+ caption,
27
+ title,
28
+ description,
29
+ }: {
30
+ caption?: string;
31
+ title?: string;
32
+ description?: string;
33
+ }) {
26
34
  return (
27
35
  <React.Fragment>
28
36
  {caption ? (
@@ -31,6 +39,11 @@ function CaptionAndTitleSection({ caption, title }: { caption?: string; title?:
31
39
  </Text>
32
40
  ) : null}
33
41
  {title ? <Heading fontSize="3xl">{title}</Heading> : null}
42
+ {description ? (
43
+ <Text muted className="mb-6 leading-loose">
44
+ {description}
45
+ </Text>
46
+ ) : null}
34
47
  </React.Fragment>
35
48
  );
36
49
  }
@@ -9,12 +9,12 @@ import React from "react";
9
9
  import { FeaturesProps } from ".";
10
10
  import { ArrayOfImageTitleAndText } from "./types";
11
11
 
12
- export default function Features_D({ caption, title, features }: FeaturesProps) {
12
+ export default function Features_D({ caption, title, description, features }: FeaturesProps) {
13
13
  return (
14
14
  <Section className="py-20 bg-background">
15
15
  <Container maxWidth={1280}>
16
16
  <Container maxWidth={448} className="mb-8 text-center">
17
- <CaptionAndTitleSection caption={caption} title={title} />
17
+ <CaptionAndTitleSection caption={caption} title={title} description={description} />
18
18
  </Container>
19
19
  <FeatureItems features={features} />
20
20
  </Container>
@@ -22,7 +22,15 @@ export default function Features_D({ caption, title, features }: FeaturesProps)
22
22
  );
23
23
  }
24
24
 
25
- function CaptionAndTitleSection({ caption, title }: { caption?: string; title?: string }) {
25
+ function CaptionAndTitleSection({
26
+ caption,
27
+ title,
28
+ description,
29
+ }: {
30
+ caption?: string;
31
+ title?: string;
32
+ description?: string;
33
+ }) {
26
34
  return (
27
35
  <React.Fragment>
28
36
  {caption ? (
@@ -31,6 +39,11 @@ function CaptionAndTitleSection({ caption, title }: { caption?: string; title?:
31
39
  </Text>
32
40
  ) : null}
33
41
  {title ? <Heading fontSize="3xl">{title}</Heading> : null}
42
+ {description ? (
43
+ <Text muted className="mb-6 leading-loose">
44
+ {description}
45
+ </Text>
46
+ ) : null}
34
47
  </React.Fragment>
35
48
  );
36
49
  }
@@ -47,7 +47,7 @@ function ImageSection({ featuredItems, item }: { featuredItems?: FeaturedItem[];
47
47
  return (
48
48
  <div className="mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl">
49
49
  <Image
50
- className="relative object-cover rounded-global"
50
+ className="relative object-cover rounded-md"
51
51
  src={`${featuredItems?.[item]?.mainImage?.image}`}
52
52
  sizes="100vw"
53
53
  width={896}
@@ -83,7 +83,7 @@ function ImageGallery({ images }: { images?: any[] }) {
83
83
  return (
84
84
  <div className={`overflow-hidden ${className}`}>
85
85
  <Image
86
- className="object-cover w-full h-auto rounded-global"
86
+ className="object-cover w-full h-auto rounded-md"
87
87
  src={image}
88
88
  sizes="100vw"
89
89
  width={width}
@@ -101,7 +101,7 @@ function ImageGallery({ images }: { images?: any[] }) {
101
101
  return (
102
102
  <div className={`overflow-hidden ${className}`}>
103
103
  <Image
104
- className="object-cover w-full h-auto rounded-global"
104
+ className="object-cover w-full h-auto rounded-md"
105
105
  src={image}
106
106
  sizes="100vw"
107
107
  width={width}
@@ -99,7 +99,7 @@ function ImageGallery({ images }: { images?: any[] }) {
99
99
  <div className="mb-5 sm:mb-0 sm:w-1/2">
100
100
  {images?.[0]?.image && (
101
101
  <Image
102
- className="object-cover overflow-hidden rounded-global"
102
+ className="object-cover overflow-hidden rounded-md"
103
103
  src={`${images?.[0]?.image}`}
104
104
  width={640}
105
105
  height={800}
@@ -109,7 +109,7 @@ function ImageGallery({ images }: { images?: any[] }) {
109
109
  )}
110
110
  {images?.[1]?.image && (
111
111
  <Image
112
- className="object-cover mt-6 overflow-hidden rounded-global"
112
+ className="object-cover mt-6 overflow-hidden rounded-md"
113
113
  src={`${images?.[1]?.image}`}
114
114
  width={640}
115
115
  height={800}
@@ -120,7 +120,7 @@ function ImageGallery({ images }: { images?: any[] }) {
120
120
  </div>
121
121
  {images?.[2]?.image && (
122
122
  <Image
123
- className="object-cover overflow-hidden rounded-global sm:ml-6 sm:w-1/2"
123
+ className="object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2"
124
124
  src={`${images?.[2]?.image}`}
125
125
  width={640}
126
126
  height={800}
@@ -1 +0,0 @@
1
- import{Container as g}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as l}from"@stackshift-ui/text";import e from"react";import{jsx as m,jsxs as o}from"react/jsx-runtime";function x({caption:n,title:i,features:t}){return m(d,{className:"py-20 bg-background",children:o(g,{maxWidth:1280,children:[m(g,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i})}),m(s,{wrap:!0,children:m(F,{features:t})})]})})}function I({caption:n,title:i}){return o(e.Fragment,{children:[n?m(l,{weight:"bold",className:"text-secondary",children:n}):null,i?m(p,{fontSize:"3xl",children:i}):null]})}function F({features:n}){return n?m(e.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return o("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(l,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(l,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,a,r;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:m(c,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(r=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?r:"features-image-"})}):null}export{x as a};
@@ -1 +0,0 @@
1
- import{Button as p}from"@stackshift-ui/button";import{Card as w}from"@stackshift-ui/card";import{Container as v}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{Heading as e}from"@stackshift-ui/heading";import{Image as N}from"@stackshift-ui/image";import{Section as F}from"@stackshift-ui/section";import{Text as s}from"@stackshift-ui/text";import h from"react";import{jsx as l,jsxs as c}from"react/jsx-runtime";function k({featuredItems:o}){let[i,n]=h.useState(0);return l(F,{className:"py-20 overflow-x-auto bg-background",children:l(v,{maxWidth:1280,children:l(b,{className:"relative",children:l(d,{featuredItems:o,slider:r=>{o&&(r==="next"?i!==o.length-1?n(t=>t+1):n(0):i>=1?n(t=>t-1):n(o.length-1))},children:c("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[l(C,{featuredItems:o,item:i}),l(S,{featuredItems:o,item:i})]})})})})})}function C({featuredItems:o,item:i}){var n,x,r,t,m,a,g;return(x=(n=o==null?void 0:o[i])==null?void 0:n.mainImage)!=null&&x.image?l("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:l(N,{className:"relative object-cover rounded-global",src:`${(t=(r=o==null?void 0:o[i])==null?void 0:r.mainImage)==null?void 0:t.image}`,sizes:"100vw",width:896,height:575,alt:(g=(a=(m=o==null?void 0:o[i])==null?void 0:m.mainImage)==null?void 0:a.alt)!=null?g:`features-image-${i}`})}):null}function S({featuredItems:o,item:i}){var n,x,r,t,m,a;return o?c(w,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[l(s,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[i])==null?void 0:n.subtitle)&&((x=o==null?void 0:o[i])==null?void 0:x.subtitle)}),l(e,{fontSize:"3xl",children:((r=o==null?void 0:o[i])==null?void 0:r.title)&&((t=o==null?void 0:o[i])==null?void 0:t.title)}),l(s,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[i])==null?void 0:m.description)&&((a=o==null?void 0:o[i])==null?void 0:a.description)})]}):null}function d({featuredItems:o,children:i,slider:n}){return o?c(h.Fragment,{children:[l("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,l("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}export{k as a};
@@ -1 +0,0 @@
1
- import{Card as s}from"@stackshift-ui/card";import{Container as l}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import x from"react";import{jsx as i,jsxs as e}from"react/jsx-runtime";function T({caption:t,title:m,features:n}){return i(d,{className:"py-20 bg-background",children:e(l,{maxWidth:1280,children:[i(l,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m})}),i(y,{features:n})]})})}function b({caption:t,title:m}){return e(x.Fragment,{children:[t?i(o,{weight:"bold",className:"text-primary",children:t}):null,m?i(p,{fontSize:"3xl",children:m}):null]})}function y({features:t}){return t?i(g,{wrap:!0,justify:"center",children:t.map(m=>i(F,{feature:m},m._key))}):null}function F({feature:t}){var m,n,r,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:e(s,{className:"h-full px-6 py-12 text-center",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(a=(r=t==null?void 0:t.mainImage)==null?void 0:r.alt)!=null?a:"features-image-"})}),i(o,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),i(o,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{T as a};
@@ -1 +0,0 @@
1
- import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import x from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function b({caption:t,title:i,features:n}){return m(p,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[m(r,{maxWidth:448,className:"mb-16 text-center ",children:m(T,{caption:t,title:i})}),m(w,{features:n})]})})}function T({caption:t,title:i}){return a(x.Fragment,{children:[t?m(o,{weight:"bold",className:"text-secondary",children:t}):null,i?m(g,{fontSize:"3xl",children:i}):null]})}function w({features:t}){return t?m(d,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(i=>m(y,{feature:i},i._key))}):null}function y({feature:t}){var i,n,e,l;return m("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:a(s,{className:"flex flex-wrap h-full p-6",children:[m("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&m(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),a("div",{className:"w-full lg:w-2/3",children:[m(o,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),m(o,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}export{b as a};
File without changes