"use strict";var core=require("@gem-sdk/core");const useDotsSetting=e=>{let{loop:t,enabledSneakPeak:r,slideItemsPerPage:s=1,currentSlide:o=1,totalSlideItem:u,slideDuplicated:c}=e,n=core.useCurrentDevice(),i=core.getResponsiveValueByScreen(t,n,!1),g=e=>{let t=c&&u,n=t?o-u/2:o;return r||i?e===o||e===n:e===Math.ceil(o/s)};return{isLoop:i,checkIsActive:g}};exports.useDotsSetting=useDotsSetting;
