"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4799],{8335:function(e,t,r){var d=r(792),a=r(1549);t.Z=function(e){var{bordered:t,sectioned:r,displayButton:s,aspectRatio:n=1,variant:o="default"}=e;return(0,a.jsxs)("div",{"data-fs-product-card-skeleton":!0,"data-fs-product-card-skeleton-variant":o,"data-fs-product-card-skeleton-bordered":t,"data-fs-product-card-skeleton-sectioned":r,children:[(0,a.jsx)("div",{"data-fs-product-card-skeleton-image":!0,style:{"--fs-product-card-skeleton-image-aspect-ratio":n},children:(0,a.jsx)(d.Z,{size:{width:"100%",height:"100%"}})}),(0,a.jsxs)("div",{"data-fs-product-card-skeleton-content":!0,children:[(0,a.jsx)(d.Z,{"data-fs-product-card-skeleton-text":!0,size:{width:"90%",height:"1.5rem"}}),(0,a.jsx)(d.Z,{"data-fs-product-card-skeleton-text":!0,size:{width:"70%",height:"1.5rem"}}),(0,a.jsx)(d.Z,{"data-fs-product-card-skeleton-badge":!0,size:{width:"6rem",height:"2rem"},border:"pill"}),s&&(0,a.jsx)(d.Z,{"data-fs-product-card-skeleton-button":!0,size:{width:"6rem",height:"2rem"},style:{columnGap:".75rem"}})]})]})}},4799:function(e,t,r){r.r(t),r.d(t,{default:function(){return ProductShelfSkeleton_ProductShelfSkeleton}});var d=r(6737),a=r(1584),s=r(7828),n=r(8335),o=r(1549),ProductShelfSkeleton_ProductShelfSkeleton=function(e){var{children:t,aspectRatio:r,itemsPerPage:c,loading:l=!0}=e;return l?(0,o.jsx)(d.Z,{"data-fs-product-shelf-skeleton":!0,children:(0,o.jsx)(a.Z,{children:Array.from({length:c},(e,t)=>(0,o.jsx)(s.Z,{children:(0,o.jsx)(n.Z,{aspectRatio:r,sectioned:!0,bordered:!0})},String(t)))})}):(0,o.jsx)(o.Fragment,{children:t})}},792:function(e,t,r){var d=r(4194);let a=(0,d.forwardRef)(function({testId:e="fs-skeleton",loading:t=!0,shimmer:r=!0,children:a,size:s,border:n,borderRadius:o,...c},l){let i={width:s.width,height:s.height};return t?d.createElement("div",{ref:l,"data-fs-skeleton":!0,"data-testid":e,"data-fs-skeleton-border":n||null,style:o?{...i,borderRadius:o}:i,...c},r&&d.createElement("div",{"data-fs-skeleton-shimmer":!0})):d.createElement(d.Fragment,null,a)});t.Z=a},6737:function(e,t,r){var d=r(4194);let a=(0,d.forwardRef)(function({testId:e="fs-product-shelf",children:t,...r},a){return d.createElement("div",{ref:a,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=a},7828:function(e,t,r){var d=r(4194);let a=(0,d.forwardRef)(function({testId:e="fs-product-shelf-item",children:t,...r},a){return d.createElement("li",{role:"listitem",ref:a,"data-fs-product-shelf-item":!0,"data-testid":e,...r},t)});t.Z=a},1584:function(e,t,r){var d=r(4194);let a=(0,d.forwardRef)(function({testId:e="fs-product-shelf-items",children:t,...r},a){return d.createElement("ul",{role:"list",ref:a,"data-fs-product-shelf-items":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=a}}]);