'use client';
import{jsxs as e,jsx as t,Fragment as o}from"react/jsx-runtime";import{useMemo as r}from"react";import{useEditorMode as i,makeStyleResponsive as a}from"@gem-sdk/core";import s from"next/dynamic";let LooxReviewsSampleContent=s(()=>import("./LooxReviewsSampleContent.js")),LooxReviewsWithoutProduct=({setting:s,styles:l})=>{let d=i(),{widgetType:c}=s??{},n=r(()=>{switch(c){case"carousel_widget":return{id:"loox-default-carousel"};case"reviews_widget_all_stores":return{id:"looxReviews","data-loox-aggregate":""}}},[c]);return e("div",{style:{...a("ta",l?.align)},children:["edit"===d&&t(LooxReviewsSampleContent,{setting:s,styles:l}),t("div",{...n,children:"carousel_widget"===c&&t(o,{children:t("div",{className:"loox-v2-carousel-container",id:"LOOX-V2_CAROUSEL-card","data-slide-type":"card",children:" "})})})]})};export{LooxReviewsWithoutProduct as default};
