"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:s,advanced:i})=>{let{widgetType:t,landingPageLink:d,embeddedCode:r,align:a}=s??{};return e.template`
    <div
      class="${i?.cssClass}"
      style="${{...e.makeStyleResponsive("ta",a)}}"
    >
      {% assign widget = '${t}' %}
      {% case widget %}
        {% when "landing-page" %}
          {% if '${d}' %}
            <iframe src="${d}" width="100%" height="100%" style="position: absolute; border: medium none;" scrolling="no"></iframe>
          {% endif %}
        {% when "embedded" %}
          {% if '${r}' %}
            ${r}
          {% endif %}
      {% endcase %}
    </div>
  `};
