"use strict";var e=require("@gem-sdk/core"),t=require("@gem-sdk/system");exports.getData=r=>{let o=["mobile","tablet","desktop"],{setting:s,rootId:a,builderProps:l,styles:i,moveToIdx:n,isHiddenArrowWhenDisabled:u,shouldInitByLayout:c,carouselType:p="carousel"}=r,g=a??l?.uid,d=`gp-carousel-slider-${l?.uid}`,{enableAction:S={desktop:!0},navigationStyle:f,navigationEnable:k={desktop:!0}}=s??{},y=t.createStateOrContext({id:g,moveToIdx:n,isHiddenArrowWhenDisabled:u,setting:s,styles:i,shouldInitByLayout:c,carouselType:p});return{loopConfig:(()=>{let t=s?.loop;return o.forEach(r=>{t={...t,[r]:!!e.getResponsiveValueByScreen(S)&&t?.[r]}}),t})(),stateData:JSON.stringify(y).replaceAll("'","&#039;"),uniqueComponentId:g,arrowShowConfig:(()=>{let t=f;return o.forEach(r=>{t={...t,[r]:e.getResponsiveValueByScreen(k,r)?e.getResponsiveValueByScreen(t,r):"none"}}),t})(),sliderSelector:d}};
