/**
 * Copyright (c) 2022 International Business Group, Ant Group. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), the rights to use, copy, modify, merge, and/or distribute the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 * 1. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE; and
 * 2. If applicable, the use of the Software is also subject to the terms and conditions of any non-disclosure agreement signed by you and the relevant Ant Group entity.
 */
import json from "../../package.json";
export var marmotMap = {
  dev: 'http://page.alipay.net/page/antom-web-checkout/src/component-app',
  sit: 'http://page.test.alipay.net/page/antom-web-checkout/src/component-app',
  pre: 'https://pre.ac.alipay.com/page/antom-web-checkout/src/component-app',
  sandbox: 'https://ac.alipay.com/page/antom-web-checkout/src/component-app',
  light_sandbox: 'https://ac.alipay.com/page/antom-web-checkout/src/component-app',
  prod: 'https://ac.alipay.com/page/antom-web-checkout/src/component-app'
};
export var marmotConfigMap = {
  dev: 'https://config-dev.marmot-cloud.com/config/data/antom-sdk-config/en_US.json',
  sit: 'https://config-test.marmot-cloud.com/config/data/antom-sdk-config/en_US.json',
  pre: 'https://config-pre.marmot-cloud.com/config/data/antom-sdk-config/en_US.json',
  sandbox: 'https://config.marmot-cloud.com/config/data/antom-sdk-config/en_US.json',
  light_sandbox: 'https://config.marmot-cloud.com/config/data/antom-sdk-config/en_US.json',
  prod: 'https://config.marmot-cloud.com/config/data/antom-sdk-config/en_US.json'
};
export var v2AppMarmotMap = {
  dev: 'http://page.alipay.net/page/antom-web-checkout-v2',
  sit: 'http://page.test.alipay.net/page/antom-web-checkout-v2',
  pre: 'https://pre.ac.alipay.com/page/antom-web-checkout-v2',
  sandbox: 'https://checkout.antom.com',
  light_sandbox: 'https://checkout.antom.com',
  prod: 'https://checkout.antom.com'
};
export var sdkVersion = json.version;

/**
 * @description: 目前应用层分为v1和v2，会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
 * TODO 这里考虑直接换成packagejson.version
 */
export var AMSCheckoutAppVersion = '1.47.2'; // 兜底版本号
export var AMSAutoDebitAppVersion = '1.47.2'; // 代扣
export var AMSEasyPayAppVersion = '1.47.2'; // easypay
export var AMSCashierPaymentAppVersion = '1.47.2'; // 收银台（卡、apm）
export var AMSVaultingAppVersion = '1.47.2'; // 绑卡
export var AMSPaymentElementAppVersion = '1.47.2'; // payment element
export var ADDRESSElementAppVersion = '1.47.2'; // address element
export var AUTHElementAppVersion = '1.47.2'; // auth element