"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:i,styles:l,moveToIdx:n,isHiddenArrowWhenDisabled:u,shouldInitByLayout:p}=r,c=a??i?.uid,g=`gp-carousel-slider-${i?.uid}`,{enableAction:d={desktop:!0},navigationStyle:S,navigationEnable:f={desktop:!0}}=s??{},k=t.createStateOrContext({id:c,moveToIdx:n,isHiddenArrowWhenDisabled:u,setting:s,styles:l,shouldInitByLayout:p});return{loopConfig:(()=>{let t=s?.loop;return o.forEach(r=>{t={...t,[r]:!!e.getResponsiveValueByScreen(d)&&t?.[r]}}),t})(),stateData:JSON.stringify(k).replaceAll("'","&#039;"),uniqueComponentId:c,arrowShowConfig:(()=>{let t=S;return o.forEach(r=>{t={...t,[r]:e.getResponsiveValueByScreen(f,r)?e.getResponsiveValueByScreen(t,r):"none"}}),t})(),sliderSelector:g}};
