"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:a,advanced:i})=>{let{widgetType:t,align:d}=a??{};return e.template`
    <div
      class="${i?.cssClass}"
      style="${{...e.makeStyleResponsive("ta",d)}}"
    >
      {% assign widget = '${t}' %}
      {% case widget %}
        {% when "reviews" %}
          <div id="wc_review_section" class="wc_review_main_content" data-url="{{ shop.url }}" data-handle="{{ product.handle }}" data-product_id="{{ product.id }}" data-limit="0"></div>
        {% when "badge" %}
          <div class="wc_product_review_badge" data-handle="{{ product.handle }}" data-product_id="{{ product.id }}"></div>
        {% when "testimonials" %}
          <div class="wc_testimonial_section"></div>
        {% when "allReviewsPage" %}
          <div id="wc_all_review_page" class="wc_review_main_content" data-url="{{ shop.url }}" data-limit="{{ratingsLimit}}"></div>
      {% endcase %}
    </div>
  `};
