from PyQt5.QtCore import Qt

USER = "AmrMohamed"

# === Keyboard Settings ===
INITIAL_FONT = 40

FREQ = [
    6.666666666666667,
    5.882352941,
    10,
    7.575757575757576,
]
# fifth freq 
# 12.195121951219512,
# 8.620689655172415
# 

COLOR   =   [Qt.green, Qt.green, Qt.green, Qt.green, Qt.black]

TIME_FLASH_SEC     = 3
TIME_REST_SEC      = 5
ANIMATION_DURATION = 300
GRIDLAYOUT_MARGIN  = 0
GRIDLAYOUT_SPACING = 100

CHARS = ["abcdqrst",
         "efghuvwx",
         "ijklyz.,",
         "mnop\"'?&",
         "1234⌫@$!",
         "5678~_{}",
         "90-+()[␣",
         "*/^=<>]⏎"]

VIRTUAL_QUERIES =  [
    # 'translate hello'
    # 'Search google for emotiv',
    # 'Translate give me the apple from english to french',
    # 'What is the weather?',
    # 'in cairo',
    # 'in egypt',
    # 'weather in london,gb?'
]

VIRTUAL_SEQUENCE = [
    1,1,1,
    1,0,1,1,
    0,0,0,1,
    0,1,3,
    0,0,2,0,
	3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3]

# === Autocomplete Settings ===

AUTOCOMPLETE_BACKEND = "keyboard.autocomplete.backends.autocomplete.AutoComplete"


# === NLP Settings ===

NLP_BACKEND = "nlp.backends.api_ai.ApiaiBackend"

APIAI_ACCESS_TOKEN='8dda3e91a2b240e1b16d48aa57433ece'

# === Bots Settings ===

# Default msg when no bot or intent found.
FALLBACK_PROMPTS = [
    "Sorry, I don't quite understand.",
    "Sorry, I don't understand.",
    "I don't understand.",
    "Please state what you want more clearly."
]

# Module path for each active bot
REGISTERED_BOTS = [
    'bots.bots.calculator.CalculatorBot',
    'bots.bots.weather.WeatherBot',
    'bots.bots.chrome.ChromeBot',
    'bots.bots.mail.MailBot',
    'bots.bots.translator.TranslationBot'
    # 'bots.bots.search.SearchBot',
]

SENDGRID_ACCESS_TOKEN = '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'
WEATHER_CLIENT_ID = 'UdLRojHnKB0m0b6ysMvKj'
WEATHER_CLIENT_SECRET = '3Kdd7KK6vCcLFhIA9RigNdiCGoB6JdkIjweHi4zy'

TRANSLATOR_LANG_TO = "Arabic"
TRANSLATOR_LANG_FROM = "English"

@@ -20,16 +20,38 @@
 mport Qt
+%0Afrom secrets import *
 %0A%0AUSER =
@@ -1166,63 +1166,8 @@
 d%22%0A%0A
-APIAI_ACCESS_TOKEN='8dda3e91a2b240e1b16d48aa57433ece'%0A%0A
 # ==
@@ -1683,216 +1683,8 @@
 %0A%5D%0A%0A
-SENDGRID_ACCESS_TOKEN = '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'%0AWEATHER_CLIENT_ID = 'UdLRojHnKB0m0b6ysMvKj'%0AWEATHER_CLIENT_SECRET = '3Kdd7KK6vCcLFhIA9RigNdiCGoB6JdkIjweHi4zy'%0A%0A
 TRAN

Move tokens to secrets.py and add it to .gitignore