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