"use strict";var e=require("@gem-sdk/core"),r=require("react");exports.useMarqueeStyles=u=>{let{styles:s,setting:t,itemSize:c}=u,{itemMaxWidth:n}=s||{},{itemWidthType:o}=t||{},a=e.useCurrentDevice(),i=r.useMemo(()=>e.getResponsiveValueByScreen(o,a),[o,a]),l=r.useMemo(()=>{let r=e.getResponsiveValueByScreen(n,a);return"FIT_CONTENT"===i&&(r="auto"),"BASE_ON_NUMBER_OF_ITEMS"===i&&(r=`calc(100% / ${c})`),r},[a,n,c,i]),M=r.useMemo(()=>l?.includes("%"),[l]);return{isFullWidth:M}};
