"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core");const AliReviews=({setting:e,advanced:s})=>{let{widgetType:i,align:r}=e??{};return core.template`
    <div
      class="${s?.cssClass}"
      style="${{...core.makeStyleResponsive("ta",r)}}"
    >
      {% assign widget = '${i}' %}
      {% case widget %}
        {% when 'starRating' %}
          <div class='alireviews-review-star-rating' product-handle='{{product.handle}}' product-id='{{product.id}}'> </div >
        {% when 'reviewBox' %}
          <div class="alireviews-review-box"> </div
      {% endcase %}
    </div>
  `};exports.default=AliReviews;
