local TXUI, F, E, I, V, P, G = unpack(select(2, ...))
local PF = TXUI:GetModule("Profiles")

local _G = _G

-- GLOBALS: DBM_AllSavedOptions

function PF:DBM()
    local TXUI_DBM_AllSavedOptions = {}
    local TXUI_DBT_AllPersistentOptions = {}
    local profileName = I.ProfileNames[E.db.TXUI.installer.layout]

    -- Check if profile exists, if not create one
    if not DBM_AllSavedOptions[profileName] then _G.DBM:CreateProfile(profileName) end

    if E.db.TXUI.installer.layout == I.Enum.Layouts.HEALER then
        TXUI_DBM_AllSavedOptions[profileName] = {}
        TXUI_DBM_AllSavedOptions[profileName]["AFKHealthWarning"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AITimer"] = true
        TXUI_DBM_AllSavedOptions[profileName]["AdvancedAutologBosses"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AlwaysPlayVoice"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AlwaysShowSpeedKillTimer2"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ArrowPoint"] = "TOP"
        TXUI_DBM_AllSavedOptions[profileName]["ArrowPosX"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["ArrowPosY"] = -150
        TXUI_DBM_AllSavedOptions[profileName]["AutoAcceptFriendInvite"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AutoAcceptGuildInvite"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AutoReplySound"] = true
        TXUI_DBM_AllSavedOptions[profileName]["AutoRespond"] = true
        TXUI_DBM_AllSavedOptions[profileName]["AutologBosses"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BadIDAlert"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BadTimerAlert"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BigBrotherAnnounceToRaid"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BlockNoteShare"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ChatFrame"] = "DEFAULT_CHAT_FRAME"
        TXUI_DBM_AllSavedOptions[profileName]["CheckGear"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ChosenVoicePack"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["CoreSavedRevision"] = 20210108022347
        TXUI_DBM_AllSavedOptions[profileName]["CountdownVoice"] = "Corsica"
        TXUI_DBM_AllSavedOptions[profileName]["CountdownVoice2"] = "Kolt"
        TXUI_DBM_AllSavedOptions[profileName]["CountdownVoice3"] = "Smooth"
        TXUI_DBM_AllSavedOptions[profileName]["CustomSounds"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["DebugLevel"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["DebugMode"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DisableGuildStatus"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DisableSFX"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DisableStatusWhisper"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlayCountdowns"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlayPTCountdown"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlaySpecialWarningSound"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlayTrivialSpecialWarningSound"] = true
        TXUI_DBM_AllSavedOptions[profileName]["DontRestoreIcons"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontRestoreRange"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontSendYells"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontSetIcons"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowBossAnnounces"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowBossTimers"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowFarWarnings"] = true
        TXUI_DBM_AllSavedOptions[profileName]["DontShowHudMap2"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowInfoFrame"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowNameplateIcons"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPT2"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPTCountdownText"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPTNoID"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPTText"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowRangeFrame"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowSpecialWarningFlash"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowSpecialWarningText"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowTargetAnnouncements"] = true
        TXUI_DBM_AllSavedOptions[profileName]["DontShowUserTimers"] = false
        TXUI_DBM_AllSavedOptions[profileName]["EnableModels"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EnableWBSharing"] = true
        TXUI_DBM_AllSavedOptions[profileName]["Enabled"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EventDungMusicMythicFilter"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EventMusicMythicFilter"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundDungeonBGM"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundEngage2"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundMusic"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundMusicCombined"] = false
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundVictory2"] = "Interface\\AddOns\\DBM-Core\\sounds\\Victory\\SmoothMcGroove_Fanfare.ogg"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundWipe"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["FakeBWVersion"] = false
        TXUI_DBM_AllSavedOptions[profileName]["FilterDispel"] = true
        TXUI_DBM_AllSavedOptions[profileName]["FilterInterrupt2"] = "TandFandBossCooldown"
        TXUI_DBM_AllSavedOptions[profileName]["FilterInterruptNoteName"] = false
        TXUI_DBM_AllSavedOptions[profileName]["FilterTankSpec"] = true
        TXUI_DBM_AllSavedOptions[profileName]["FilterTrashWarnings2"] = true
        TXUI_DBM_AllSavedOptions[profileName]["FilterVoidFormSay"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ForumsMessageShown"] = false
        TXUI_DBM_AllSavedOptions[profileName]["GUIHeight"] = 635
        TXUI_DBM_AllSavedOptions[profileName]["GUIPoint"] = "TOPLEFT"
        TXUI_DBM_AllSavedOptions[profileName]["GUIWidth"] = 800
        TXUI_DBM_AllSavedOptions[profileName]["GUIX"] = 121.66667938232
        TXUI_DBM_AllSavedOptions[profileName]["GUIY"] = -105.83340454102
        TXUI_DBM_AllSavedOptions[profileName]["HelpMessageVersion"] = 3
        TXUI_DBM_AllSavedOptions[profileName]["HideBossEmoteFrame2"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideGarrisonToasts"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideGuildChallengeUpdates"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideObjectivesFrame"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideQuestTooltips"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideTooltips"] = false
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameCols"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameFont"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\Montserrat-Medium.ttf"
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameFontSize"] = 16
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameFontStyle"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameLines"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameLocked"] = false
        TXUI_DBM_AllSavedOptions[profileName]["InfoFramePoint"] = "BOTTOM"
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameShowSelf"] = false
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameX"] = -490
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameY"] = 250
        TXUI_DBM_AllSavedOptions[profileName]["LFDEnhance"] = true
        TXUI_DBM_AllSavedOptions[profileName]["LastRevision"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["LatencyThreshold"] = 250
        TXUI_DBM_AllSavedOptions[profileName]["LogOnlyNonTrivial"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ModelSoundValue"] = "Short"
        TXUI_DBM_AllSavedOptions[profileName]["MovieFilter2"] = "OnlyFight"
        TXUI_DBM_AllSavedOptions[profileName]["NPAuraSize"] = 40
        TXUI_DBM_AllSavedOptions[profileName]["PTCountThreshold2"] = 5
        TXUI_DBM_AllSavedOptions[profileName]["RLReadyCheckSound"] = true
        TXUI_DBM_AllSavedOptions[profileName]["RaidWarningSound"] = 11742
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameFrames"] = "radar"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameLocked"] = false
        TXUI_DBM_AllSavedOptions[profileName]["RangeFramePoint"] = "BOTTOM"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameRadarPoint"] = "BOTTOMRIGHT"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameRadarX"] = -445
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameRadarY"] = 225
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameSound1"] = "none"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameSound2"] = "none"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameUpdates"] = "Average"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameX"] = 7.0000815391541
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameY"] = 113.16705322266
        TXUI_DBM_AllSavedOptions[profileName]["RecordOnlyBosses"] = false
        TXUI_DBM_AllSavedOptions[profileName]["RoleSpecAlert"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SWarnClassColor"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SWarnNameInNote"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SWarningAlphabetical"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SettingsMessageShown"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShortTimerText"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowAllVersions"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowBigBrotherOnCombatStart"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ShowDefeatMessage"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowEngageMessage"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowGuildMessages"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowGuildMessagesPlus"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ShowPizzaMessage"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowQueuePop"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowReminders"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowRespawn"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowSWarningsInChat"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowWarningsInChat"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SilentMode"] = false
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningDuration2"] = 1.5
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash1"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash2"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash3"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash4"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash5"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph1"] = 0.3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph2"] = 0.3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph3"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph4"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph5"] = 0.5
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"][2] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"][2] = 0.5
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"][2] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"][2] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"][3] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"][1] = 0.2
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"][2] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"][3] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount1"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount2"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount3"] = 3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount4"] = 2
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount5"] = 3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura1"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura2"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura3"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura4"] = 0.7
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura5"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFont"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\BigNoodleToo.ttf"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"][2] = 0.7
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontShadow"] = false
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontSize2"] = 40
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontStyle"] = "THICKOUTLINE"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningIcon"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningPoint"] = "TOP"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningShortText"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound"] = 8174
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound2"] = 15391
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound3"] = "Interface\\AddOns\\DBM-Core\\sounds\\AirHorn.ogg"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound4"] = 9278
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound5"] = 128466
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningX"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningY"] = -300
        TXUI_DBM_AllSavedOptions[profileName]["StripServerName"] = true
        TXUI_DBM_AllSavedOptions[profileName]["UseNameplateHandoff"] = true
        TXUI_DBM_AllSavedOptions[profileName]["UseSoundChannel"] = "Master"
        TXUI_DBM_AllSavedOptions[profileName]["VoiceOverSpecW2"] = "DefaultOnly"
        TXUI_DBM_AllSavedOptions[profileName]["WarningAlphabetical"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1]["b"] = 0.94117647058824
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1]["g"] = 0.8
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1]["r"] = 0.41176470588235
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2]["b"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2]["g"] = 0.94901960784314
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2]["r"] = 0.94901960784314
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3]["b"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3]["g"] = 0.50196078431373
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3]["r"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4]["b"] = 0.10196078431373
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4]["g"] = 0.10196078431373
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4]["r"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["WarningDuration2"] = 1.5
        TXUI_DBM_AllSavedOptions[profileName]["WarningFont"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\BigNoodleToo.ttf"
        TXUI_DBM_AllSavedOptions[profileName]["WarningFontShadow"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningFontSize"] = 24
        TXUI_DBM_AllSavedOptions[profileName]["WarningFontStyle"] = "OUTLINE"
        TXUI_DBM_AllSavedOptions[profileName]["WarningIconChat"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningIconLeft"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningIconRight"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningPoint"] = "CENTER"
        TXUI_DBM_AllSavedOptions[profileName]["WarningShortText"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningX"] = -330
        TXUI_DBM_AllSavedOptions[profileName]["WarningY"] = 25
        TXUI_DBM_AllSavedOptions[profileName]["WhisperStats"] = false
        TXUI_DBM_AllSavedOptions[profileName]["WorldBossAlert"] = false
        TXUI_DBM_AllSavedOptions[profileName]["WorldBossNearAlert"] = false

        TXUI_DBT_AllPersistentOptions[profileName] = {}
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"] = {}
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Alpha"] = 1
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["BarStyle"] = "DBM"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["BarXOffset"] = 0
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["ColorByType"] = true
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["ExpandUpwards"] = true
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Font"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\Montserrat-Medium.ttf"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["FontFlag"] = "None"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["FontSize"] = 18
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Height"] = 22
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeBarXOffset"] = 0
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeBarsEnabled"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeTimerPoint"] = "CENTER"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeTimerX"] = 360
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeTimerY"] = -12
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["IconLeft"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["IconRight"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["InlineIcons"] = true
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["NoBarFade"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Scale"] = 0.9
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Spark"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Texture"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Textures\\ToxiUI-clean.tga"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["TimerPoint"] = "BOTTOMRIGHT"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["TimerX"] = -155
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["TimerY"] = 218
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Width"] = 328
    else
        TXUI_DBM_AllSavedOptions[profileName] = {}
        TXUI_DBM_AllSavedOptions[profileName]["AFKHealthWarning"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AITimer"] = true
        TXUI_DBM_AllSavedOptions[profileName]["AdvancedAutologBosses"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AlwaysPlayVoice"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AlwaysShowSpeedKillTimer2"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ArrowPoint"] = "TOP"
        TXUI_DBM_AllSavedOptions[profileName]["ArrowPosX"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["ArrowPosY"] = -150
        TXUI_DBM_AllSavedOptions[profileName]["AutoAcceptFriendInvite"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AutoAcceptGuildInvite"] = false
        TXUI_DBM_AllSavedOptions[profileName]["AutoReplySound"] = true
        TXUI_DBM_AllSavedOptions[profileName]["AutoRespond"] = true
        TXUI_DBM_AllSavedOptions[profileName]["AutologBosses"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BadIDAlert"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BadTimerAlert"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BigBrotherAnnounceToRaid"] = false
        TXUI_DBM_AllSavedOptions[profileName]["BlockNoteShare"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ChatFrame"] = "DEFAULT_CHAT_FRAME"
        TXUI_DBM_AllSavedOptions[profileName]["CheckGear"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ChosenVoicePack"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["CoreSavedRevision"] = 20210127052658
        TXUI_DBM_AllSavedOptions[profileName]["CountdownVoice"] = "Corsica"
        TXUI_DBM_AllSavedOptions[profileName]["CountdownVoice2"] = "Kolt"
        TXUI_DBM_AllSavedOptions[profileName]["CountdownVoice3"] = "Smooth"
        TXUI_DBM_AllSavedOptions[profileName]["CustomSounds"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["DebugLevel"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["DebugMode"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DisableGuildStatus"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DisableSFX"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DisableStatusWhisper"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlayCountdowns"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlayPTCountdown"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlaySpecialWarningSound"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontPlayTrivialSpecialWarningSound"] = true
        TXUI_DBM_AllSavedOptions[profileName]["DontRestoreIcons"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontRestoreRange"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontSendYells"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontSetIcons"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowBossAnnounces"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowBossTimers"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowFarWarnings"] = true
        TXUI_DBM_AllSavedOptions[profileName]["DontShowHudMap2"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowInfoFrame"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowNameplateIcons"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPT2"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPTCountdownText"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPTNoID"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowPTText"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowRangeFrame"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowSpecialWarningFlash"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowSpecialWarningText"] = false
        TXUI_DBM_AllSavedOptions[profileName]["DontShowTargetAnnouncements"] = true
        TXUI_DBM_AllSavedOptions[profileName]["DontShowUserTimers"] = false
        TXUI_DBM_AllSavedOptions[profileName]["EnableModels"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EnableWBSharing"] = true
        TXUI_DBM_AllSavedOptions[profileName]["Enabled"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EventDungMusicMythicFilter"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EventMusicMythicFilter"] = true
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundDungeonBGM"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundEngage2"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundMusic"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundMusicCombined"] = false
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundVictory2"] = "Interface\\AddOns\\DBM-Core\\sounds\\Victory\\SmoothMcGroove_Fanfare.ogg"
        TXUI_DBM_AllSavedOptions[profileName]["EventSoundWipe"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["FakeBWVersion"] = false
        TXUI_DBM_AllSavedOptions[profileName]["FilterDispel"] = true
        TXUI_DBM_AllSavedOptions[profileName]["FilterInterrupt2"] = "TandFandBossCooldown"
        TXUI_DBM_AllSavedOptions[profileName]["FilterInterruptNoteName"] = false
        TXUI_DBM_AllSavedOptions[profileName]["FilterTankSpec"] = true
        TXUI_DBM_AllSavedOptions[profileName]["FilterTrashWarnings2"] = true
        TXUI_DBM_AllSavedOptions[profileName]["FilterVoidFormSay"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ForumsMessageShown"] = false
        TXUI_DBM_AllSavedOptions[profileName]["GUIHeight"] = 635
        TXUI_DBM_AllSavedOptions[profileName]["GUIPoint"] = "TOPLEFT"
        TXUI_DBM_AllSavedOptions[profileName]["GUIWidth"] = 800
        TXUI_DBM_AllSavedOptions[profileName]["GUIX"] = 22.499984741211
        TXUI_DBM_AllSavedOptions[profileName]["GUIY"] = -120.83335113525
        TXUI_DBM_AllSavedOptions[profileName]["HelpMessageVersion"] = 3
        TXUI_DBM_AllSavedOptions[profileName]["HideBossEmoteFrame2"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideGarrisonToasts"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideGuildChallengeUpdates"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideObjectivesFrame"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideQuestTooltips"] = true
        TXUI_DBM_AllSavedOptions[profileName]["HideTooltips"] = false
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameCols"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameFont"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\Montserrat-Medium.ttf"
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameFontSize"] = 16
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameFontStyle"] = "None"
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameLines"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameLocked"] = false
        TXUI_DBM_AllSavedOptions[profileName]["InfoFramePoint"] = "BOTTOM"
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameShowSelf"] = false
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameX"] = -290
        TXUI_DBM_AllSavedOptions[profileName]["InfoFrameY"] = 135
        TXUI_DBM_AllSavedOptions[profileName]["LFDEnhance"] = true
        TXUI_DBM_AllSavedOptions[profileName]["LastRevision"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["LatencyThreshold"] = 250
        TXUI_DBM_AllSavedOptions[profileName]["LogOnlyNonTrivial"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ModelSoundValue"] = "Short"
        TXUI_DBM_AllSavedOptions[profileName]["MovieFilter2"] = "OnlyFight"
        TXUI_DBM_AllSavedOptions[profileName]["NPAuraSize"] = 40
        TXUI_DBM_AllSavedOptions[profileName]["PTCountThreshold2"] = 5
        TXUI_DBM_AllSavedOptions[profileName]["RLReadyCheckSound"] = true
        TXUI_DBM_AllSavedOptions[profileName]["RaidWarningSound"] = 11742
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameFrames"] = "radar"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameLocked"] = false
        TXUI_DBM_AllSavedOptions[profileName]["RangeFramePoint"] = "BOTTOM"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameRadarPoint"] = "BOTTOM"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameRadarX"] = 325
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameRadarY"] = 170
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameSound1"] = "none"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameSound2"] = "none"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameUpdates"] = "Average"
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameX"] = 325
        TXUI_DBM_AllSavedOptions[profileName]["RangeFrameY"] = 140
        TXUI_DBM_AllSavedOptions[profileName]["RecordOnlyBosses"] = false
        TXUI_DBM_AllSavedOptions[profileName]["RoleSpecAlert"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SWarnClassColor"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SWarnNameInNote"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SWarningAlphabetical"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SettingsMessageShown"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShortTimerText"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowAllVersions"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowBigBrotherOnCombatStart"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ShowDefeatMessage"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowEngageMessage"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowGuildMessages"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowGuildMessagesPlus"] = false
        TXUI_DBM_AllSavedOptions[profileName]["ShowPizzaMessage"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowQueuePop"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowReminders"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowRespawn"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowSWarningsInChat"] = true
        TXUI_DBM_AllSavedOptions[profileName]["ShowWarningsInChat"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SilentMode"] = false
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningDuration2"] = 1.5
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash1"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash2"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash3"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash4"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlash5"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph1"] = 0.3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph2"] = 0.3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph3"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph4"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashAlph5"] = 0.5
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"][2] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol1"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"][2] = 0.5
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol2"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"][2] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol3"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"][2] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol4"][3] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"][1] = 0.2
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"][2] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCol5"][3] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount1"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount2"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount3"] = 3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount4"] = 2
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashCount5"] = 3
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura1"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura2"] = 0.4
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura3"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura4"] = 0.7
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFlashDura5"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFont"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\BigNoodleToo.ttf"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"][1] = 1
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"][2] = 0.7
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontCol"][3] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontShadow"] = false
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontSize2"] = 40
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningFontStyle"] = "THICKOUTLINE"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningIcon"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningPoint"] = "TOP"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningShortText"] = true
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound"] = 8174
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound2"] = 15391
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound3"] = "Interface\\AddOns\\DBM-Core\\sounds\\AirHorn.ogg"
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound4"] = 9278
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningSound5"] = 128466
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningX"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["SpecialWarningY"] = -290
        TXUI_DBM_AllSavedOptions[profileName]["StripServerName"] = true
        TXUI_DBM_AllSavedOptions[profileName]["UseNameplateHandoff"] = true
        TXUI_DBM_AllSavedOptions[profileName]["UseSoundChannel"] = "Master"
        TXUI_DBM_AllSavedOptions[profileName]["VoiceOverSpecW2"] = "DefaultOnly"
        TXUI_DBM_AllSavedOptions[profileName]["WarningAlphabetical"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1]["b"] = 0.94117647058824
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1]["g"] = 0.8
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][1]["r"] = 0.41176470588235
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2]["b"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2]["g"] = 0.94901960784314
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][2]["r"] = 0.94901960784314
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3]["b"] = 0
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3]["g"] = 0.50196078431373
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][3]["r"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4] = {}
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4]["b"] = 0.10196078431373
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4]["g"] = 0.10196078431373
        TXUI_DBM_AllSavedOptions[profileName]["WarningColors"][4]["r"] = 1
        TXUI_DBM_AllSavedOptions[profileName]["WarningDuration2"] = 1.5
        TXUI_DBM_AllSavedOptions[profileName]["WarningFont"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\BigNoodleToo.ttf"
        TXUI_DBM_AllSavedOptions[profileName]["WarningFontShadow"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningFontSize"] = 24
        TXUI_DBM_AllSavedOptions[profileName]["WarningFontStyle"] = "OUTLINE"
        TXUI_DBM_AllSavedOptions[profileName]["WarningIconChat"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningIconLeft"] = false
        TXUI_DBM_AllSavedOptions[profileName]["WarningIconRight"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningPoint"] = "CENTER"
        TXUI_DBM_AllSavedOptions[profileName]["WarningShortText"] = true
        TXUI_DBM_AllSavedOptions[profileName]["WarningX"] = -335.83291625976
        TXUI_DBM_AllSavedOptions[profileName]["WarningY"] = -65.333847045898
        TXUI_DBM_AllSavedOptions[profileName]["WhisperStats"] = false
        TXUI_DBM_AllSavedOptions[profileName]["WorldBossAlert"] = false
        TXUI_DBM_AllSavedOptions[profileName]["WorldBossNearAlert"] = false

        TXUI_DBT_AllPersistentOptions[profileName] = {}
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"] = {}
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Alpha"] = 1
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["BarStyle"] = "DBM"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["BarXOffset"] = 0
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["ColorByType"] = true
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["ExpandUpwards"] = true
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Font"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Fonts\\Montserrat-Medium.ttf"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["FontFlag"] = "None"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["FontSize"] = 18
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Height"] = 22
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeBarXOffset"] = 0
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeBarsEnabled"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeTimerPoint"] = "CENTER"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeTimerX"] = 360
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["HugeTimerY"] = -12
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["IconLeft"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["IconRight"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["InlineIcons"] = true
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["NoBarFade"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Scale"] = 0.9
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Spark"] = false
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Texture"] = "Interface\\AddOns\\ElvUI_ToxiUI\\Media\\Textures\\ToxiUI-clean.tga"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["TimerPoint"] = "BOTTOMRIGHT"
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["TimerX"] = -155
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["TimerY"] = 218
        TXUI_DBT_AllPersistentOptions[profileName]["DBM"]["Width"] = 328
    end

    _G.DBM_MinimapIcon = {
        ["hide"] = true,
    }

    _G.DBM_AllSavedOptions[profileName] = nil
    _G.DBT_AllPersistentOptions[profileName] = nil

    E:CopyTable(_G.DBM_AllSavedOptions, TXUI_DBM_AllSavedOptions)
    E:CopyTable(_G.DBT_AllPersistentOptions, TXUI_DBT_AllPersistentOptions)

    self:DBM_Private()
end

function PF:DBM_Private()
    if not _G.DBM or not _G.DBM_AllSavedOptions then return end
    _G.DBM:ApplyProfile(I.ProfileNames[E.db.TXUI.installer.layout])
end
