import{template as e,makeStyleResponsive as i}from"@gem-sdk/core";let Omnisend=({setting:s,advanced:d})=>{let{widgetType:n,landingPageLink:t,embeddedCode:a,align:r}=s??{};return e`
    <div
      class="${d?.cssClass}"
      style="${{...i("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{Omnisend as default};
