<?php
if (!defined('TENWEB_SITE_URL')) {
    define('TENWEB_SITE_URL', "https://10web.io");
}
if (!defined('TENWEB_DASHBOARD')) {
    define('TENWEB_DASHBOARD', "https://my.10web.io");
}
if (!defined('TENWEB_API_URL')) {
    define('TENWEB_API_URL', 'https://manager.10web.io/api');
}
if (!defined('TENWEB_S3_BUCKET')) {
    define('TENWEB_S3_BUCKET', '10web-products-production');
}
if (!defined('TENWEB_MANAGER_ID')) {
    define('TENWEB_MANAGER_ID', 51);
}

if (!defined('TENWEB_WVC_THEME_ID')) {
    define('TENWEB_WVC_THEME_ID', 222);
}

if (!defined('TENWEB_WVC_URL')) {
	define('TENWEB_WVC_URL', 'https://wvc.10web.io');
}

if (!defined('TENWEB_WVC_PRODUCT_ID')) {
	define('TENWEB_WVC_PRODUCT_ID', 221);
}


if (!defined('TENWEB_DEACTIVATION_REASONS_URL')) {
    define('TENWEB_DEACTIVATION_REASONS_URL', 'https://core.10web.io/api/deactivation_reasons');
}
if (!defined('TENWEB_SO_CRITICAL_URL')) {
    define("TENWEB_SO_CRITICAL_URL", 'https://performance.10web.io');
}
if (!defined('TENWEBIO_API_URL')) {
    define('TENWEBIO_API_URL', "https://imageoptimizer.10web.io");
}

if(!defined('TENWEB_SO_FREE_SUBSCRIPTION_ID')) {
    define("TENWEB_SO_FREE_SUBSCRIPTION_ID",321);
}

if(!defined('TENWEB_AGENCY_CUSTOMER_SUBSCRIPTION_ID')) {
    define('TENWEB_AGENCY_CUSTOMER_SUBSCRIPTION_ID', 477);
}

if(!defined('TENWEB_SO_AUTOCONNECT')) {
    define("TENWEB_SO_AUTOCONNECT",false);
}

if(!defined('TENWEB_SO_FREE_SUBSCRIPTION_IDS')) {
    define("TENWEB_SO_FREE_SUBSCRIPTION_IDS",[
        321, //booster free subscription id
        337, 338, 339, 340, 341, 342 //ai assistant pro booster free subscription ids
    ]);
}

if(!defined('TWBB_S3_BUCKET')) {
    define( 'TWBB_S3_BUCKET', '10webtemplates-production' );
}

if(!defined('TENWEB_SIGNUP_MAGIC_LINK_URL')) {
    define('TENWEB_SIGNUP_MAGIC_LINK_URL', 'https://core.10web.io/api/checkout/signup-via-magic-link');
}

if(!defined('TENWEB_AI_ASSISTANT')) {
    define('TENWEB_AI_ASSISTANT', 'https://ai-assistant.10web.io/');
}

if(!defined('TENWEB_AI_ASSISTANT_SUBSCRIPTION_ID')) {
    define('TENWEB_AI_ASSISTANT_SUBSCRIPTION_ID', 330);
}

if(!defined('TWM_ENABLE_PAYMENT')) {
    define('TWM_ENABLE_PAYMENT', true);
}

if(!defined('TENWEB_WOOCOM_API_URL')) {
    define('TENWEB_WOOCOM_API_URL', 'https://woocommerce.10web.io/');
}

if(!defined('TENWEB_PLATFORM_FREE_SUBSCRIPTION_ID')) {
    define('TENWEB_PLATFORM_FREE_SUBSCRIPTION_ID', 318);
}

if(!defined('TENWEB_SEND_GA_EVENT')) {
	define('TENWEB_SEND_GA_EVENT', 'https://core.10web.io/api/send-ga-event');
}

if(!defined('TENWEB_FE_SERVICE')) {
	define('TENWEB_FE_SERVICE', 'https://x.10web.io/');
}

if(!defined('TENWEB_BUILDER_API')) {
	define('TENWEB_BUILDER_API', 'https://api.ai-website-builder.net/');
}

if(!defined('TENWEB_CORE_URL')) {
	define('TENWEB_CORE_URL', 'https://core.10web.io');
}

global $tenweb_services;

$tenweb_services = array(
  'imageoptimizer.10web.io',
  'security.10web.io',
  'seo.10web.io',
  'backup.10web.io',
  'manager.10web.io',
  'core.10web.io',
  'lxd.10web.io',
  'wvc.10web.io'
);

global $tenweb_regions;

$tenweb_regions = array(
    "asia-east1" => "Changhua County, Taiwan",
    "asia-northeast1" => "Tokyo, Japan",
    "asia-south1" => "Mumbai, India",
    "asia-southeast1" => "Jurong West, Singapore",
    "australia-southeast1" => "Sydney, Australia",
    "europe-north1" => "Hamina, Finland",
    "europe-west1" => "St. Ghislain, Belgium",
    "europe-west2" => "London, England, UK",
    "europe-west3" => "Frankfurt, Germany",
    "europe-west4" => "Eemshaven, Netherlands",
    "northamerica-northeast1" => "Montréal, Québec, Canada",
    "southamerica-east1" => "São Paulo, Brazil",
    "us-central1" => "Council Bluffs, Iowa, USA",
    "us-east1" => "Moncks Corner, South Carolina, USA",
    "us-east4" => "Ashburn, Northern Virginia, USA",
    "us-west1" => "The Dalles, Oregon, USA",
    "us-west2" => "Los Angeles, California, USA"
);

global $tenweb_firebaseConfig;

$tenweb_firebaseConfig = [
    'apiKey' => "AIzaSyADDO7CWkI1jd8HUXFVs7AwSt4z52i27Tc",
    'authDomain'=> "copilote-prod-2096c.firebaseapp.com",
    'projectId'=> "copilote-prod-2096c",
    'storageBucket'=> "copilote-prod-2096c.appspot.com",
    'messagingSenderId'=> "698503034199",
    'appId'=> "1:698503034199:web:2282f40a461d9d95217a12",
    'databaseURL' => "https://copilote-prod-2096c.firebaseio.com",
];

