<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

?>

<?php
/** @var \Magento\PaymentServicesPaypal\Block\SmartButtons $block */
/** @var \Magento\Framework\Escaper $escaper */
?>


<?php if ($block->isLocationEnabled('cart')): ?>
    <div class="smart-buttons">
        <div data-mage-init='{"Magento_PaymentServicesPaypal/js/view/payment/smart-buttons-cart":
        <?= /* @noEscape */ json_encode($block->getComponentParams()) ?>}'></div>
    </div>
<?php endif ?>
<?php if ($block->isApplePayLocationEnabled('cart')): ?>
    <div class="apple-pay">
        <div data-mage-init='{"Magento_PaymentServicesPaypal/js/view/payment/apple-pay-cart":
        <?= /* @noEscape */ json_encode($block->getComponentParams()) ?>}'></div>
    </div>
<?php endif ?>
<?php if ($block->isGooglePayLocationEnabled('cart')): ?>
    <div class="google-pay">
        <div data-mage-init='{"Magento_PaymentServicesPaypal/js/view/payment/google-pay-cart":
        <?= /* @noEscape */ json_encode($block->getComponentParams()) ?>}'></div>
    </div>
<?php endif ?>
