import{makeStyleResponsive as e,template as t}from"@gem-sdk/core";import{WISER_VERSION as r}from"../types.js";let s=({setting:s,advanced:d})=>{let{wiserVersion:i,widgetType:a,widgetTypeV2:l,align:o}=s??{};return t`
    <div
      class="${d?.cssClass}"
      style="${{...e("ta",o)}}"
    >
    ${i===r.V1?t`{% include 'wiser_${a}' %}`:t`<div class="${l} ws_inr_main_wgt" data-wiser-widget="${"evm-related-product"===l?"related_products":l}" data-widget-rendered="true"></div>`}
    </div>
  `};export{s as default};
