"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:o,advanced:t})=>{let{widgetType:r,align:a}=o??{};return e.template`
      <div
        class="${t?.cssClass}"
        style="${{...e.makeStyleResponsive("ta",a)}}"
      >
        <klarna-placement
          data-key=${(()=>{switch(r){case"topStripPromotionBadge":default:return"top-strip-promotion-badge";case"topStripPromotionAutoSize":return"top-strip-promotion-auto-size";case"footerPromotionAutoSize":return"footer-promotion-auto-size";case"infoPage":return"info-page";case"creditPromotionBadge":return"credit-promotion-badge";case"creditPromotionAutoSize":return"credit-promotion-auto-size"}})()}
          data-locale={{ request.locale.iso_code }}-{{ localization.country.iso_code }}
        ></klarna-placement>
      </div>
    `};
