"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:t,advanced:a})=>{let{widgetType:i,align:d}=t??{};return e.template`
    <div
      class="${a?.cssClass}"
      style="${{...e.makeStyleResponsive("ta",d)}}"
    >
      {% assign widget = '${i}' %}
      {% case widget %}
          {% when "carousel-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="carousel"
            data-autoscroll="true"
            data-show-review-photos="true"
            data-write-review="true"
            data-show-rating="true"
            data-fixed-reviews-height="false"></div>
          {% when "carousel-widget-static-plate-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="carousel_static_plate"
            data-autoscroll="true"
            data-show-review-photos="true"
            data-write-review="true"
            data-fixed-reviews-height="false"></div>
          {% when "compact-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="basic"
            data-minimize="false"
            style="display: flex; justify-content: center;"></div>
          {% when "grid-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="grid"
            data-show-review-photos="true"
            data-write-review="true"
            data-fixed-reviews-height="false"></div>
          {% when "list-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="standard"
            data-show-review-photos="true"
            data-write-review="true"></div>
          {% when "masonry-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="masonry"
            data-show-review-photos="true"
            data-write-review="true"></div>
          {% when "sticky-compact-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-type="basic"
            data-minimize="false"
            data-sticky="true"
            data-position-vertical="bottom"
            data-position-horizontal="right"></div>
          {% when "compact-slider-widget-block" %}
            <div class="reputon-google-reviews-widget"
            data-content-index="1"
            data-theme="light"
            data-autoscroll="true"
            data-type="basic_slide"
            data-sticky="true"
      {% endcase %}
      <script
        type="text/javascript"
        src="https://cdn.grw.reputon.com/assets/widget.js?shop={{shop.domain}}"  defer></script>
    </div>
  `};
