<?xml version="1.0"?>
<!--
/**
 * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 *
 *  http://aws.amazon.com/apache2.0
 *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="authentication-popup">
            <arguments>
                <argument name="jsLayout" xsi:type="array">
                    <item name="components" xsi:type="array">
                        <item name="authenticationPopup" xsi:type="array">
                            <item name="children" xsi:type="array">
                                <item name="amazon-button" xsi:type="array">
                                    <item name="component" xsi:type="string">Amazon_Login/js/view/login-button-wrapper</item>
                                    <item name="sortOrder" xsi:type="string">0</item>
                                    <item name="displayArea" xsi:type="string">additional-login-form-fields</item>
                                    <item name="config" xsi:type="array">
                                        <item name="tooltip" xsi:type="string" translate="true">Securely login into our website using your existing Amazon details.</item>
                                        <item name="componentDisabled" xsi:type="helper"
                                              helper="Amazon\Login\Domain\LayoutConfig::isLwaLayoutDisabled"/>
                                    </item>
                                </item>
                            </item>
                        </item>
                    </item>
                </argument>
            </arguments>
        </referenceBlock>
    </body>
</page>
