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