<div class="payment-loader {{#if hidden}}payment-loader--hidden{{/if}}">
  <div class="payment-loader__modal">
  {{#if spinnerTypes}}
    {{#each spinnerTypes}}
      {{#if (eq this "paypal-logo")}}
        <div class="paypal-checkout-logo">
          <img class="paypal-checkout-logo-pp" alt="pp" src="./img/paypal_logo_loader_pp.svg">
          <img class="paypal-checkout-logo-paypal" alt="paypal" src="./img/paypal_logo_loader_paypal.svg">
        </div>
      {{else if (eq this "klarna-logo")}}
        <div class="klarna-checkout-logo">
          <div class="klarna-spinner-logo"></div>
        </div>

      {{else if (eq this "google-logo")}}
        <div class="google-checkout-logo">
          <div class="google-spinner-logo"></div>
        </div>

      {{else if (eq this "clearpay-logo")}}
        <div class="clearpay-checkout-logo">
          <div class="clearpay-spinner-logo"></div>
        </div>

      {{else if (eq this "billie-logo")}}
        <div class="billie-checkout-logo">
          <div class="billie-spinner-logo"></div>
        </div>
      {{/if}}
    {{/each}}
  {{else}}
    {{#if paypal-logo}}
      <div class="paypal-checkout-logo">
        <img class="paypal-checkout-logo-pp" alt="pp" src="./img/paypal_logo_loader_pp.svg">
        <img class="paypal-checkout-logo-paypal" alt="paypal" src="./img/paypal_logo_loader_paypal.svg">
      </div>
    {{/if}}
    {{#if klarna-logo}}
      <div class="klarna-checkout-logo">
        <div class="klarna-spinner-logo"></div>
      </div>
    {{/if}}
    {{#if google-logo}}
      <div class="google-checkout-logo">
        <div class="google-spinner-logo"></div>
      </div>
    {{/if}}
    {{#if clearpay-logo}}
      <div class="clearpay-checkout-logo">
        <div class="clearpay-spinner-logo"></div>
      </div>
    {{/if}}
    {{#if billie-logo}}
      <div class="billie-checkout-logo">
        <div class="billie-spinner-logo"></div>
      </div>
    {{/if}}
  {{/if}}
    <div class="spinner {{#if klarna-logo}}klarna-spinner{{/if}}"></div>
  </div>
</div>
