"use strict";var e=require("@gem-sdk/system"),t=require("./helpers.js"),r=require("../../../common/selectors.js");exports.getAttr=s=>{let{rootAttrs:i,builderProps:d,rootId:a}=s,{uniqueComponentId:l}=t.getData(s),o=d?.uid||a?r.getCarouselElementId(l??""):void 0,u=e.createAttr({"data-id":`${d?.uid}`,id:`gp-root-carousel-${l}`,...i}),c=e.createAttr({...o&&{id:o},dir:s.setting?.rtl?"rtl":"ltr"});return{rootAttrRender:u,sliderAttr:c}};
