import{template as e,makeStyleResponsive as d}from"@gem-sdk/core";let ProductReviews=({setting:i,advanced:s})=>{let{widgetType:t,align:r}=i??{};return e`
    <div
      class="${s?.cssClass}"
      style="${{...d("ta",r)}}"
    >
      <div>
        {% assign widget = '${t}' %}
        {% if widget == 'reviews' %}
          <div id="shopify-product-reviews" data-id="{{product.id}}">{{ product.metafields.spr.reviews }}</div>
        {% else %}
          <span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span>
        {% endif %}
      </div>
    </div>
  `};export{ProductReviews as default};
