"use strict";var core=require("@gem-sdk/core");const getData=e=>{let{hiddenWhenOnlyOne:t}=e,r=t=>{let{enabledSneakPeak:r,totalSlideItem:o=0,numberOfFullWidthShow:a=0,slideItemsPerPage:l=0}=e;return r?Array.from({length:t?o:o-a+1},(e,t)=>t):Array.from({length:t?o:Math.ceil(o/l)},(e,t)=>t)},o=e=>t&&e?.length<2;return{checkHidden:o,getDotItems:r}},getUpdatedDotStyle=(e,t)=>{let r={};return core.DEVICES.forEach(o=>{let a=core.getResponsiveValueByScreen(e,o),l=core.getResponsiveValueByScreen(t,o);r={...r,[o]:a?l:"none"}}),r};exports.getData=getData,exports.getUpdatedDotStyle=getUpdatedDotStyle;
