local E, L, V, P, G = unpack(ElvUI);

-- Add Vertical Powerbar option on Player
P['unitframe']['units']['player']['power']['vertical'] = false

-- Add Vertical Powerbar option on target
P['unitframe']['units']['target']['power']['vertical'] = false

-- Add Party portraits additions to ElvUI defaults
P['unitframe']['units']['party']['portrait']['height'] = 0
P['unitframe']['units']['party']['portrait']['transparent'] = false

-- Add Minimap styling toggle default
P['general']['minimap']['benikuiStyle'] = true

-- Add Chat styling toggle default
P['chat']['benikuiStyle'] = true

-- Datatexts
P['datatexts']['panels']['BuiLeftChatDTPanel'] = {
	[1] = 'Primary Stat',
	[2] = 'Missions (BenikUI)',
	[3] = 'BuiMail',
}

P['datatexts']['panels']['BuiRightChatDTPanel'] = {
	[1] = 'Spec Switch (BenikUI)',
	[2] = 'Gold',
	[3] = 'Bags',
}

P['datatexts']['panels']['BuiMiddleDTPanel'] = {
	[1] = 'Haste',
	[2] = 'Mastery',
	[3] = 'Crit',
}

-- Core
P['benikui'] = {
	['installed'] = nil,

	['general'] = {
		['benikuiStyle'] = true,
		['hideStyle'] = false,
		['shadows'] = true,
		['shadowSize'] = 4,
		['shadowAlpha'] = 0.6,
		['loginMessage'] = true,
		['splashScreen'] = true,
	},

	['colors'] = {
		['colorTheme'] = 'Elv',
		['StyleColor'] = 1,
		['customStyleColor'] = {r = .9, g = .7, b = 0},
		['styleAlpha'] = 1,
		['abStyleColor'] = 1,
		['customAbStyleColor'] = {r = .9, g = .7, b = 0},
		['abAlpha'] = 1,
		['gameMenuColor'] = 2,
		['customGameMenuColor'] = {r = .9, g = .7, b = 0},
	},

	['misc'] = {
		['flightMode'] = {
			['enable'] = true,
			['logo'] = 'WOW',
		},
		['afkMode'] = true,
	},

	['datatexts'] = {
		['chat'] = {
			['enable'] = true,
			['transparent'] = false,
			['editBoxPosition'] = 'BELOW_CHAT',
			['styled'] = false,
			['backdrop'] = true,
			['showChatDt'] = 'SHOWBOTH',
		},
		['mail'] = {
			['toggle'] = true,
		},
	},

	['actionbars'] = {
		['toggleButtons'] = {
			['enable'] = true,
			['chooseAb'] = 'BAR2',
		},
		['style'] = {
			['bar1'] = true,
			['bar2'] = true,
			['bar3'] = true,
			['bar4'] = true,
			['bar5'] = true,
			['bar6'] = true,
			['bar7'] = true,
			['bar8'] = true,
			['bar9'] = true,
			['bar10'] = true,
			['petbar'] = true,
			['stancebar'] = true,
			['microbar'] = true,
		},
	},

	['unitframes'] = {
		['player'] = {
			['detachPortrait'] = false,
			['portraitWidth'] = 110,
			['portraitHeight'] = 85,
			['portraitShadow'] = true,
			['portraitTransparent'] = true,
			['portraitStyle'] = false,
			['portraitStyleHeight'] = 6,
			['portraitFrameStrata'] = "MEDIUM",
			['portraitBackdrop'] = true,
		},
		['target'] = {
			['detachPortrait'] = false,
			['getPlayerPortraitSize'] = true,
			['portraitWidth'] = 110,
			['portraitHeight'] = 85,
			['portraitShadow'] = true,
			['portraitTransparent'] = true,
			['portraitStyle'] = false,
			['portraitStyleHeight'] = 6,
			['portraitFrameStrata'] = "MEDIUM",
			['portraitBackdrop'] = true,
		},
		['targettarget'] = {
			['detachPortrait'] = false,
			['portraitWidth'] = 110,
			['portraitHeight'] = 85,
			['portraitShadow'] = true,
			['portraitTransparent'] = true,
			['portraitFrameStrata'] = "MEDIUM",
			['portraitBackdrop'] = true,
		},
		['focus'] = {
			['detachPortrait'] = false,
			['portraitWidth'] = 110,
			['portraitHeight'] = 85,
			['portraitShadow'] = true,
			['portraitTransparent'] = true,
			['portraitFrameStrata'] = "MEDIUM",
			['portraitBackdrop'] = true,
		},
		['pet'] = {
			['detachPortrait'] = false,
			['portraitWidth'] = 110,
			['portraitHeight'] = 85,
			['portraitShadow'] = true,
			['portraitTransparent'] = true,
			['portraitFrameStrata'] = "MEDIUM",
			['portraitBackdrop'] = true,
		},
		['infoPanel'] = {
			['fixInfoPanel'] = true,
			['texture'] = 'BuiEmpty',
			['enableColor'] = false,
			['customColor'] = 2,
			['color'] = {r = .9, g = .7, b = 0, a = .7},
			['groupColor'] = {r = .9, g = .7, b = 0, a = .7},
		},
		['castbar'] = {
			['text'] = {
				['ShowInfoText'] = false,
			},
		},
		['textures'] = {
			['health'] = E.db.unitframe.statusbar,
			['ignoreTransparency'] = false,
			['power'] = E.db.unitframe.statusbar,
			['castbar'] = 'BuiFlat',
		},
		['misc'] = {
			['svui'] = true,
			['portraitTransparency'] = 0.70,
		},
	},

	-- Dashboards
	['dashboards'] = {
		['system'] = {
			['enableSystem'] = true,
			['combat'] = false,
			['width'] = 150,
			['barHeight'] = 1,
			['style'] = true,
			['transparency'] = true,
			['backdrop'] = true,
			['mouseover'] = false,
			['textAlign'] = 'LEFT',
			['chooseSystem'] = {
				['FPS'] = true,
				['MS'] = true,
				['Bags'] = true,
				['Durability'] = true,
				['Volume'] = true,
			},
			['latency'] = 2,
		},
	
		['tokens'] = {
			['enableTokens'] = true,
			['combat'] = true,
			['mouseover'] = false,
			['tooltip'] = true,
			['width'] = 150,
			['barHeight'] = 1,
			['style'] = true,
			['transparency'] = true,
			['backdrop'] = true,
			['zeroamount'] = false,
			['weekly'] = true,
			['iconPosition'] = 'LEFT'
		},
	
		['professions'] = {
			['enableProfessions'] = true,
			['combat'] = true,
			['mouseover'] = false,
			['width'] = 150,
			['barHeight'] = 1,
			['style'] = true,
			['transparency'] = true,
			['backdrop'] = true,
			['capped'] = false,
			['iconPosition'] = 'RIGHT'
		},
	
		['reputations'] = {
			['enableReputations'] = true,
			['combat'] = true,
			['mouseover'] = false,
			['width'] = 200,
			['barHeight'] = 1,
			['style'] = true,
			['transparency'] = true,
			['backdrop'] = true,
			['barFactionColors'] = true,
			['textFactionColors'] = true,
			['tooltip'] = false,
			['textAlign'] = 'LEFT',
		},

		['dashfont'] = {
			['useDTfont'] = true,
			['dbfont'] = E.db.datatexts.font,
			['dbfontsize'] = E.db.datatexts.fontSize,
			['dbfontflags'] = E.db.datatexts.fontOutline,
		},

		['barColor'] = 1,
		['customBarColor'] = {r = 255/255,g = 128/255,b = 0/255},
		['textColor'] = 2,
		['customTextColor'] = {r = 255/255,g = 255/255,b = 255/255},
	},

	-- Skins and ElvUI addons Styling
	['Skins'] = {
		['elvuiAddons'] = {
			['locplus'] = true,
			['sle'] = true,
			['enh'] = true,
			['pa'] = true,
			['mer'] = true,
			['elv'] = true,
			['wa'] = true,
		},

		['addonSkins'] = {
			['skada'] = true,
			['recount'] = true,
			['tinydps'] = true,
			['atlasloot'] = true,
			['altoholic'] = true,
			['clique'] = true,
			['ora'] = true,
			['pawn'] = true,
			['dbm'] = true,
			['bigwigs'] = true,
			['zygor'] = true,
			['immersion'] = true,
			['allthethings'] = true,
			['tinyinspect'] = true,
			['arkinventory'] = true,
		},

		['variousSkins'] = {
			['inflight'] = true,
			['kt'] = true,
			['rxpguides'] = true,
		},
	},

	-- Databars
	['Databars'] = {
		['experience'] = {
			['enable'] = true,
			['buiStyle'] = true,
			['buttonStyle'] = "TRANSPARENT",
			['notifiers'] = {
				['enable'] = true,
				['position'] = 'RIGHT',
			},
		},

		['petExperience'] = {
			['enable'] = true,
			['buiStyle'] = true,
			['buttonStyle'] = "TRANSPARENT",
			['notifiers'] = {
				['enable'] = true,
				['position'] = 'RIGHT',
			},
		},

		['reputation'] = {
			['enable'] = true,
			['buiStyle'] = true,
			['buttonStyle'] = "TRANSPARENT",
			['notifiers'] = {
				['enable'] = true,
				['position'] = 'LEFT',
			},
		},

		['threat'] = {
			['enable'] = true,
			['buiStyle'] = false,
			['buttonStyle'] = "TRANSPARENT",
			['notifiers'] = {
				['enable'] = true,
				['position'] = 'BELOW',
			},
		},
	},

	['panels'] = {

	},
}

G['benikui'] = {
	['CustomPanels'] = {
		['createButton'] = false,
	},
}

G.datatexts.newPanelInfo.benikuiStyle = true
