<Ui>
	<Button name="TrinketMenu_ProfilesListTemplate" virtual="true">
		<Size>
			<AbsDimension x="174" y="20"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentName" font="GameFontHighlight" text="Profile name">
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="8" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<HighlightTexture file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
		<Scripts>
			<OnClick>
				TrinketMenu.ProfileList_OnClick(self)
			</OnClick>
			<OnDoubleClick>
				TrinketMenu.ProfileList_OnDoubleClick(self)
			</OnDoubleClick>
		</Scripts>
	</Button>

	<Button name="TrinketMenu_ProfilesButtonTemplate" inherits="UIPanelButtonGrayTemplate" virtual="true">
		<Size>
			<AbsDimension x="54" y="24"/>
		</Size>
		<NormalText inherits="GameFontHighlightSmall"/>
		<DisabledText inherits="GameFontDisableSmall"/>
		<HighlightText inherits="GameFontHighlightSmall"/>
		<Scripts>
			<OnEnter>
				TrinketMenu.OnTooltip(self)
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
			</OnLeave>
			<OnClick>
				TrinketMenu.ProfilesButton_OnClick(self)
			</OnClick>
		</Scripts>
	</Button>

	<CheckButton name="TrinketMenu_TabCheckTemplate" inherits="UICheckButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="24" y="24"/>
		</Size>
		<Scripts>
			<OnLoad>
				self:SetFrameLevel(getglobal("TrinketMenu_Tab"..self:GetID()):GetFrameLevel()+2)
			</OnLoad>
			<OnEnter>
				TrinketMenu.OnTooltip(self)
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
			</OnLeave>
			<OnClick>
				TrinketMenu.TabCheck_OnClick(self)
			</OnClick>
		</Scripts>
	</CheckButton>

	<Button name="TrinketMenu_SortTemplate" virtual="true">
		<Size>
			<AbsDimension x="210" y="24"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon">
					<Size>
						<AbsDimension x="22" y="22"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="4" y="-1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentName" font="GameFontHighlight" justifyH="LEFT">
					<Size>
						<AbsDimension x="170" y="22"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentIcon" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="4" y="0"/>
							</Offset>
						</Anchor>
						<Anchor point="RIGHT"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" hidden="true" alphaMode="ADD">
					<Size>
						<AbsDimension x="210" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				getglobal(self:GetName().."Highlight"):Show()
				TrinketMenu.SortTooltip(self)
			</OnEnter>
			<OnLeave>
				if not self.lockedHighlight then
					getglobal(self:GetName().."Highlight"):Hide()
				end
				GameTooltip:Hide()
			</OnLeave>
			<OnClick>
				TrinketMenu.SortOnClick(self)
			</OnClick>
		</Scripts>
	</Button>

	<Button name="TrinketMenu_MoveButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="24" y="24"/>
		</Size>
		<HighlightTexture file="Interface\AddOns\TrinketMenu\Buttons" alphaMode="ADD">
			<TexCoords left=".25" right=".375" top="0" bottom=".125"/>
		</HighlightTexture>
		<Scripts>
			<OnEnter>
				TrinketMenu.OnTooltip(self)
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
			</OnLeave>
			<OnClick>
				TrinketMenu.SortMove(self)
			</OnClick>
		</Scripts>
	</Button>

	<Button name="TrinketMenu_Tab2" inherits="TrinketMenu_TabTemplate" parent="TrinketMenu_OptFrame" text="Bottom" id="2">
		<Anchors>
			<Anchor point="TOPRIGHT" relativeTo="TrinketMenu_Tab1" relativePoint="TOPLEFT"/>
		</Anchors>
	</Button>

	<CheckButton name="TrinketMenu_Trinket1Check" inherits="TrinketMenu_TabCheckTemplate" parent="TrinketMenu_OptFrame" id="2">
		<Anchors>
			<Anchor point="RIGHT" relativeTo="TrinketMenu_Tab2" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="-4" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
	</CheckButton>

	<Button name="TrinketMenu_Tab3" inherits="TrinketMenu_TabTemplate" parent="TrinketMenu_OptFrame" text="Top" id="3">
		<Anchors>
			<Anchor point="TOPRIGHT" relativeTo="TrinketMenu_Tab2" relativePoint="TOPLEFT"/>
		</Anchors>
	</Button>

	<CheckButton name="TrinketMenu_Trinket0Check" inherits="TrinketMenu_TabCheckTemplate" parent="TrinketMenu_OptFrame" id="3">
		<Anchors>
			<Anchor point="RIGHT" relativeTo="TrinketMenu_Tab3" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="-4" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
	</CheckButton>

	<Frame name="TrinketMenu_SubQueueFrame" parent="TrinketMenu_OptFrame" hidden="true">
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="8" y="-50"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-8" y="8"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
			<EdgeSize>
				<AbsValue val="16" />
			</EdgeSize>
		</Backdrop>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\ChatFrame\ChatFrameBackground">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="4" y="-4"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-4" y="4"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Gradient orientation="VERTICAL">
						<MinColor r=".15" g=".15" b=".15" a="1"/>
						<MaxColor r=".33" g=".33" b=".33" a="1"/>
					</Gradient>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="TrinketMenu_MoveTop" inherits="TrinketMenu_MoveButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="8" y="-50"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".375" right=".5" top="0" bottom=".125"/>
				</NormalTexture>
				<PushedTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".5" right=".625" top="0" bottom=".125"/>
				</PushedTexture>
				<DisabledTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".625" right=".75" top="0" bottom=".125"/>
				</DisabledTexture>
			</Button>
			<Button name="TrinketMenu_MoveUp" inherits="TrinketMenu_MoveButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrinketMenu_MoveTop" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left="0" right=".125" top=".125" bottom=".25"/>
				</NormalTexture>
				<PushedTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".125" right=".25" top=".125" bottom=".25"/>
				</PushedTexture>
				<DisabledTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".25" right=".375" top=".125" bottom=".25"/>
				</DisabledTexture>
			</Button>
			<Button name="TrinketMenu_MoveDown" inherits="TrinketMenu_MoveButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrinketMenu_MoveUp" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".375" right=".5" top=".125" bottom=".25"/>
				</NormalTexture>
				<PushedTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".5" right=".625" top=".125" bottom=".25"/>
				</PushedTexture>
				<DisabledTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".625" right=".75" top=".125" bottom=".25"/>
				</DisabledTexture>
			</Button>
			<Button name="TrinketMenu_MoveBottom" inherits="TrinketMenu_MoveButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrinketMenu_MoveDown" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left="0" right=".125" top=".25" bottom=".375"/>
				</NormalTexture>
				<PushedTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".125" right=".25" top=".25" bottom=".375"/>
				</PushedTexture>
				<DisabledTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".25" right=".375" top=".25" bottom=".375"/>
				</DisabledTexture>
			</Button>
			<Button name="TrinketMenu_Profiles" inherits="TrinketMenu_MoveButtonTemplate">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="TrinketMenu_MoveTop" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="12"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".75" right=".875" top=".25" bottom=".375"/>
				</NormalTexture>
				<PushedTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".875" right="1" top=".25" bottom=".375"/>
				</PushedTexture>
			</Button>
			<Button name="TrinketMenu_Delete" inherits="TrinketMenu_MoveButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrinketMenu_MoveBottom" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-12"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left="0" right=".125" top=".375" bottom=".5"/>
				</NormalTexture>
				<PushedTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".125" right=".25" top=".375" bottom=".5"/>
				</PushedTexture>
				<DisabledTexture file="Interface\AddOns\TrinketMenu\Buttons">
					<TexCoords left=".25" right=".375" top=".375" bottom=".5"/>
				</DisabledTexture>
			</Button>

			<EditBox name="TrinketMenu_SortDelay" numeric="true" historyLines="0" enableMouse="true" autoFocus="false" letters="3" virtual="true">
				<Size>
					<AbsDimension x="28" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="54" y="8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size>
								<AbsDimension x="12" y="29"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="-7" y="2"/>
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size>
								<AbsDimension x="12" y="29"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT">
									<Offset>
										<AbsDimension x="10" y="2"/>
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
						</Texture>
						<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
							</Anchors>
							<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
						</Texture>
						<FontString name="$parentText1" font="GameFontHighlightSmall" justifyH="RIGHT" text="Delay">
							<Anchors>
								<Anchor point="RIGHT" relativePoint="LEFT">
									<Offset>
										<AbsDimension x="-10" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parentText2" font="GameFontHighlightSmall" justifyH="LEFT" text="sec">
							<Anchors>
								<Anchor point="LEFT" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="12" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<FontString inherits="GameFontHighlight" justifyH="RIGHT"/>
				<Scripts>
					<OnEnter>
						TrinketMenu.OnTooltip(self)
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide()
					</OnLeave>
					<OnEscapePressed>
						self:ClearFocus()
					</OnEscapePressed>
					<OnEnterPressed>
						self:ClearFocus()
					</OnEnterPressed>
					<OnTextChanged>
						TrinketMenu.SortDelay_OnTextChanged()
					</OnTextChanged>
				</Scripts>
			</EditBox>

			<CheckButton name="TrinketMenu_SortPriority" inherits="TrinketMenu_CheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrinketMenu_SortDelay" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="40" y="2"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						TrinketMenu.SortPriority_OnClick(self)
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="TrinketMenu_SortKeepEquipped" inherits="TrinketMenu_CheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrinketMenu_SortPriority" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="40" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						TrinketMenu.SortKeepEquipped_OnClick(self)
					</OnClick>
				</Scripts>
			</CheckButton>

			<Frame name="TrinketMenu_SortListFrame">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="32" y="-8"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-8" y="28"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
					<EdgeSize>
						<AbsValue val="16" />
					</EdgeSize>
				</Backdrop>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture file="Interface\ChatFrame\ChatFrameBackground">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="4" y="-4"/>
									</Offset>
								</Anchor>
								<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="-4" y="4"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Gradient orientation="VERTICAL">
								<MinColor r=".075" g=".075" b=".075" a="1"/>
								<MaxColor r=".165" g=".165" b=".165" a="1"/>
							</Gradient>
						</Texture>
					</Layer>
				</Layers>

				<Frames>
					<Button name="TrinketMenu_Sort1" inherits="TrinketMenu_SortTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="6" y="-6"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort2" inherits="TrinketMenu_SortTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort1" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort3" inherits="TrinketMenu_SortTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort2" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort4" inherits="TrinketMenu_SortTemplate" id="4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort3" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort5" inherits="TrinketMenu_SortTemplate" id="5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort4" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort6" inherits="TrinketMenu_SortTemplate" id="6">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort5" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort7" inherits="TrinketMenu_SortTemplate" id="7">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort6" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort8" inherits="TrinketMenu_SortTemplate" id="8">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort7" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_Sort9" inherits="TrinketMenu_SortTemplate" id="9">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort8" relativePoint="BOTTOMLEFT"/>
						</Anchors>
					</Button>
					<ScrollFrame name="TrinketMenu_SortScroll" inherits="FauxScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Sort1" relativePoint="TOPLEFT"/>
							<Anchor point="BOTTOMRIGHT" relativeTo="TrinketMenu_Sort9" relativePoint="BOTTOMRIGHT"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\ChatFrame\ChatFrameBackground">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="0" y="2"/>
											</Offset>
										</Anchor>
										<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="25" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<Gradient>
										<MinColor r="0" g="0" b="0" a="0"/>
										<MaxColor r="0" g="0" b="0" a="1"/>
									</Gradient>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(self, offset, 24, TrinketMenu.SortScrollFrameUpdate)
							</OnVerticalScroll>
							<OnShow>
								TrinketMenu.SortScrollFrameUpdate()
							</OnShow>
						</Scripts>
					</ScrollFrame>
				</Frames>
			</Frame>

			<Frame name="TrinketMenu_ProfilesFrame" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="32" y="-8"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-8" y="28"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
					<EdgeSize>
						<AbsValue val="16" />
					</EdgeSize>
				</Backdrop>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture file="Interface\ChatFrame\ChatFrameBackground">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="4" y="-4"/>
									</Offset>
								</Anchor>
								<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="-4" y="4"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Gradient orientation="VERTICAL">
								<MinColor r=".15" g=".15" b=".15" a="1"/>
								<MaxColor r=".33" g=".33" b=".33" a="1"/>
							</Gradient>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<EditBox name="TrinketMenu_ProfileName" historyLines="0" enableMouse="true" autoFocus="false" letters="256">
						<Size>
							<AbsDimension x="160" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="20" y="-10"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
									<Size>
										<AbsDimension x="12" y="29"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="-11" y="2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
								</Texture>
								<Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
									<Size>
										<AbsDimension x="12" y="29"/>
									</Size>
									<Anchors>
										<Anchor point="TOPRIGHT">
											<Offset>
												<AbsDimension x="4" y="2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
									</Anchors>
									<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
								</Texture>
								<FontString name="$parentText" font="GameFontHighlightSmall" text="Profile">
									<Anchors>
										<Anchor point="RIGHT" relativeTo="$parentLeft" relativePoint="LEFT">
											<Offset>
												<AbsDimension x="-4" y="2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<FontString inherits="GameFontHighlight"/>
						<Scripts>
							<OnEnter>
								TrinketMenu.OnTooltip(self)
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide()
							</OnLeave>
							<OnEscapePressed>
								self:ClearFocus()
							</OnEscapePressed>
							<OnEnterPressed>
								self:ClearFocus()
							</OnEnterPressed>
							<OnTextChanged>
								TrinketMenu.ProfileName_OnTextChanged()
							</OnTextChanged>
						</Scripts>
					</EditBox>
					<Button name="TrinketMenu_ProfilesDelete" inherits="TrinketMenu_ProfilesButtonTemplate" text="Delete">
						<Anchors>
							<Anchor point="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="8" y="12"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_ProfilesLoad" inherits="TrinketMenu_ProfilesButtonTemplate" text="Load">
						<Anchors>
							<Anchor point="LEFT" relativeTo="TrinketMenu_ProfilesDelete" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="4" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_ProfilesSave" inherits="TrinketMenu_ProfilesButtonTemplate" text="Save">
						<Anchors>
							<Anchor point="LEFT" relativeTo="TrinketMenu_ProfilesLoad" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="4" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="TrinketMenu_ProfilesCancel" inherits="TrinketMenu_ProfilesButtonTemplate" text="Cancel">
						<Anchors>
							<Anchor point="LEFT" relativeTo="TrinketMenu_ProfilesSave" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="4" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Frame name="TrinketMenu_ProfilesListFrame">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="16" y="-34"/>
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-16" y="40"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
							<EdgeSize>
								<AbsValue val="16" />
							</EdgeSize>
						</Backdrop>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\ChatFrame\ChatFrameBackground">
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="4" y="-4"/>
											</Offset>
										</Anchor>
										<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-4" y="4"/>
											</Offset>
										</Anchor>
									</Anchors>
									<Gradient orientation="VERTICAL">
										<MinColor r=".075" g=".075" b=".075" a="1"/>
										<MaxColor r=".165" g=".165" b=".165" a="1"/>
									</Gradient>
								</Texture>
							</Layer>
						</Layers>
						<Frames>
							<Button name="TrinketMenu_Profile1" inherits="TrinketMenu_ProfilesListTemplate" id="1">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="8" y="-8"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="TrinketMenu_Profile2" inherits="TrinketMenu_ProfilesListTemplate" id="2">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile1" relativePoint="BOTTOMLEFT"/>
								</Anchors>
							</Button>
							<Button name="TrinketMenu_Profile3" inherits="TrinketMenu_ProfilesListTemplate" id="3">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile2" relativePoint="BOTTOMLEFT"/>
								</Anchors>
							</Button>
							<Button name="TrinketMenu_Profile4" inherits="TrinketMenu_ProfilesListTemplate" id="4">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile3" relativePoint="BOTTOMLEFT"/>
								</Anchors>
							</Button>
							<Button name="TrinketMenu_Profile5" inherits="TrinketMenu_ProfilesListTemplate" id="5">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile4" relativePoint="BOTTOMLEFT"/>
								</Anchors>
							</Button>
							<Button name="TrinketMenu_Profile6" inherits="TrinketMenu_ProfilesListTemplate" id="6">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile5" relativePoint="BOTTOMLEFT"/>
								</Anchors>
							</Button>
							<Button name="TrinketMenu_Profile7" inherits="TrinketMenu_ProfilesListTemplate" id="7">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile6" relativePoint="BOTTOMLEFT"/>
								</Anchors>
							</Button>
							<ScrollFrame name="TrinketMenu_ProfileScroll" inherits="FauxScrollFrameTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="TrinketMenu_Profile1" relativePoint="TOPLEFT"/>
									<Anchor point="BOTTOMRIGHT" relativeTo="TrinketMenu_Profile7" relativePoint="BOTTOMRIGHT"/>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND">
										<Texture file="Interface\ChatFrame\ChatFrameBackground">
											<Anchors>
												<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
													<Offset>
														<AbsDimension x="0" y="2"/>
													</Offset>
												</Anchor>
												<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
													<Offset>
														<AbsDimension x="25" y="-2"/>
													</Offset>
												</Anchor>
											</Anchors>
											<Gradient>
												<MinColor r="0" g="0" b="0" a="0"/>
												<MaxColor r="0" g="0" b="0" a="1"/>
											</Gradient>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnVerticalScroll>
										FauxScrollFrame_OnVerticalScroll(self, offset, 20, TrinketMenu.ProfileScrollFrameUpdate)
									</OnVerticalScroll>
									<OnShow>
										TrinketMenu.ProfileScrollFrameUpdate()
									</OnShow>
								</Scripts>
							</ScrollFrame>
						</Frames>
					</Frame>
					<CheckButton name="TrinketMenu_OptHideOnLoad" inherits="TrinketMenu_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="50" y="2"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
				</Frames>
				<Scripts>
					<OnHide>
						TrinketMenu.ProfilesFrame_OnHide()
					</OnHide>
				</Scripts>
			</Frame>
		</Frames>
	</Frame>
</Ui>
