<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Frame name="RLBoxSpellActivationAlert" virtual="true">
        <Animations>
            <AnimationGroup parentKey="animIn">
                <Scale target="$parentSpark" duration="0.2" scaleX="1.5" scaleY="1.5" order="1"/>
                <Alpha target="$parentSpark" duration="0.2" change="1" order="1"/>
                <Scale target="$parentInnerGlow"             duration="0.3" scaleX="2" scaleY="2" order="1"/>
                <Scale target="$parentInnerGlowOver"     duration="0.3" scaleX="2" scaleY="2" order="1"/>
                <Alpha target="$parentInnerGlowOver" duration="0.3" change="-1" order="1"/>
                <Scale target="$parentOuterGlow"             duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
                <Scale target="$parentOuterGlowOver"     duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
                <Alpha target="$parentOuterGlowOver" duration="0.3" change="-1" order="1"/>
                <Scale target="$parentSpark" startDelay="0.2" duration="0.2" scaleX="0.666666" scaleY="0.666666" order="1"/>
                <Alpha target="$parentSpark" startDelay="0.2" duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentInnerGlow" startDelay="0.3" duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentAnts"  startDelay="0.3" duration="0.2" change="1" order="1"/>
                <Scripts>
                    <OnPlay>
                        local frame = self:GetParent();
                        local frameWidth, frameHeight = frame:GetSize();
                        frame.spark:SetSize(frameWidth, frameHeight);
						frame.spark:SetAlpha(0.3)
                        frame.innerGlow:SetSize(frameWidth / 2, frameHeight / 2);
                        frame.innerGlow:SetAlpha(1.0);
                        --frame.innerGlowOver:SetAlpha(1.0);
                        frame.outerGlow:SetSize(frameWidth * 1, frameHeight * 1);
						frame.outerGlow:SetAlpha(1.0);
                        --frame.outerGlowOver:SetAlpha(1.0);
                        frame.ants:SetSize(frameWidth * 0.85, frameHeight * 0.85)
                        frame.ants:SetAlpha(0);
                        frame:Show();
                    </OnPlay>
                    <OnFinished>
                        local frame = self:GetParent();
                        local frameWidth, frameHeight = frame:GetSize();
                        frame.spark:SetAlpha(0);
                        frame.innerGlow:SetAlpha(0);
                        frame.innerGlow:SetSize(frameWidth, frameHeight);
                        --frame.innerGlowOver:SetAlpha(0.0);
                        frame.outerGlow:SetSize(frameWidth, frameHeight);
                        --frame.outerGlowOver:SetAlpha(0.0);
                        --frame.outerGlowOver:SetSize(frameWidth, frameHeight);
                        frame.ants:SetAlpha(1.0);
                    </OnFinished>
                </Scripts>
            </AnimationGroup>
            <AnimationGroup parentKey="animOut">
                <Alpha target="$parentOuterGlowOver" duration="0.2" change="1" order="1"/>
                <Alpha target="$parentAnts"  duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentOuterGlowOver" duration="0.2" change="-1" order="2"/>
                <Alpha target="$parentOuterGlow" duration="0.2" change="-1" order="2"/>
                <Scripts>
                    <OnFinished>
                        RLBox:OverlayGlowAnimOutFinished(self);
                    </OnFinished>
                </Scripts>
            </AnimationGroup>
        </Animations>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture name="$parentSpark" parentKey="spark" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.61718750" top="0.00390625" bottom="0.26953125"/>
                </Texture>
            </Layer>
            <Layer level="ARTWORK">
                <Texture name="$parentInnerGlow" parentKey="innerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
                </Texture>
                <Texture name="$parentInnerGlowOver" parentKey="innerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentInnerGlow" relativePoint="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT" relativeTo="$parentInnerGlow" relativePoint="BOTTOMRIGHT"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
                </Texture>
                <Texture name="$parentOuterGlow" parentKey="outerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
                </Texture>
                <Texture name="$parentOuterGlowOver" parentKey="outerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentOuterGlow" relativePoint="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT" relativeTo="$parentOuterGlow" relativePoint="BOTTOMRIGHT"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <Texture name="$parentAnts" parentKey="ants" file="Interface\SpellActivationOverlay\IconAlertAnts" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
        <Scripts>
            <OnUpdate>
                AnimateTexCoords(self.ants, 256, 256, 48, 48, 22, elapsed, 0.01)
            </OnUpdate>
            <OnHide>
                if ( self.animOut:IsPlaying() ) then
                    self.animOut:Stop();
					RLBox:OverlayGlowAnimOutFinished(self.animOut);
                end
            </OnHide>
        </Scripts>
    </Frame>

	<Frame name="FSSpellActivationAlert" virtual="true">
        <Animations>
            <AnimationGroup parentKey="animIn">
                <Scale target="$parentSpark" duration="0.2" scaleX="1.5" scaleY="1.5" order="1"/>
                <Alpha target="$parentSpark" duration="0.2" change="1" order="1"/>
                <Scale target="$parentInnerGlow"             duration="0.3" scaleX="2" scaleY="2" order="1"/>
                <Scale target="$parentInnerGlowOver"     duration="0.3" scaleX="2" scaleY="2" order="1"/>
                <Alpha target="$parentInnerGlowOver" duration="0.3" change="-1" order="1"/>
                <Scale target="$parentOuterGlow"             duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
                <Scale target="$parentOuterGlowOver"     duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
                <Alpha target="$parentOuterGlowOver" duration="0.3" change="-1" order="1"/>
                <Scale target="$parentSpark" startDelay="0.2" duration="0.2" scaleX="0.666666" scaleY="0.666666" order="1"/>
                <Alpha target="$parentSpark" startDelay="0.2" duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentInnerGlow" startDelay="0.3" duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentAnts"  startDelay="0.3" duration="0.2" change="1" order="1"/>
                <Scripts>
                    <OnPlay>
                        local frame = self:GetParent();
                        local frameWidth, frameHeight = frame:GetSize();
                        frame.spark:SetSize(frameWidth, frameHeight);
						frame.spark:SetAlpha(0.3)
                        frame.innerGlow:SetSize(frameWidth / 2, frameHeight / 2);
                        frame.innerGlow:SetAlpha(1.0);
                        --frame.innerGlowOver:SetAlpha(1.0);
                        frame.outerGlow:SetSize(frameWidth * 1, frameHeight * 1);
						frame.outerGlow:SetAlpha(1.0);
                        --frame.outerGlowOver:SetAlpha(1.0);
                        frame.ants:SetSize(frameWidth * 0.85, frameHeight * 0.85)
                        frame.ants:SetAlpha(0);
                        frame:Show();
                    </OnPlay>
                    <OnFinished>
                        local frame = self:GetParent();
                        local frameWidth, frameHeight = frame:GetSize();
                        frame.spark:SetAlpha(0);
                        frame.innerGlow:SetAlpha(0);
                        frame.innerGlow:SetSize(frameWidth, frameHeight);
                        --frame.innerGlowOver:SetAlpha(0.0);
                        frame.outerGlow:SetSize(frameWidth, frameHeight);
                        --frame.outerGlowOver:SetAlpha(0.0);
                        --frame.outerGlowOver:SetSize(frameWidth, frameHeight);
                        frame.ants:SetAlpha(1.0);
                    </OnFinished>
                </Scripts>
            </AnimationGroup>
            <AnimationGroup parentKey="animOut">
                <Alpha target="$parentOuterGlowOver" duration="0.2" change="1" order="1"/>
                <Alpha target="$parentAnts"  duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentOuterGlowOver" duration="0.2" change="-1" order="2"/>
                <Alpha target="$parentOuterGlow" duration="0.2" change="-1" order="2"/>
                <Scripts>
                    <OnFinished>
                        FireMage:OverlayGlowAnimOutFinished(self);
                    </OnFinished>
                </Scripts>
            </AnimationGroup>
        </Animations>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture name="$parentSpark" parentKey="spark" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.61718750" top="0.00390625" bottom="0.26953125"/>
                </Texture>
            </Layer>
            <Layer level="ARTWORK">
                <Texture name="$parentInnerGlow" parentKey="innerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
                </Texture>
                <Texture name="$parentInnerGlowOver" parentKey="innerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentInnerGlow" relativePoint="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT" relativeTo="$parentInnerGlow" relativePoint="BOTTOMRIGHT"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
                </Texture>
                <Texture name="$parentOuterGlow" parentKey="outerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
                </Texture>
                <Texture name="$parentOuterGlowOver" parentKey="outerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentOuterGlow" relativePoint="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT" relativeTo="$parentOuterGlow" relativePoint="BOTTOMRIGHT"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <Texture name="$parentAnts" parentKey="ants" file="Interface\SpellActivationOverlay\IconAlertAnts" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
        <Scripts>
            <OnUpdate>
                AnimateTexCoords(self.ants, 256, 256, 48, 48, 22, elapsed, 0.01)
            </OnUpdate>
            <OnHide>
                if ( self.animOut:IsPlaying() ) then
                    self.animOut:Stop();
					FireMage:OverlayGlowAnimOutFinished(self.animOut);
                end
            </OnHide>
        </Scripts>
    </Frame>	

	<Frame name="ExecuteSpellActivationAlert" virtual="true">
        <Animations>
            <AnimationGroup parentKey="animIn">
                <Scale target="$parentSpark" duration="0.2" scaleX="1.5" scaleY="1.5" order="1"/>
                <Alpha target="$parentSpark" duration="0.2" change="1" order="1"/>
                <Scale target="$parentInnerGlow"             duration="0.3" scaleX="2" scaleY="2" order="1"/>
                <Scale target="$parentInnerGlowOver"     duration="0.3" scaleX="2" scaleY="2" order="1"/>
                <Alpha target="$parentInnerGlowOver" duration="0.3" change="-1" order="1"/>
                <Scale target="$parentOuterGlow"             duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
                <Scale target="$parentOuterGlowOver"     duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
                <Alpha target="$parentOuterGlowOver" duration="0.3" change="-1" order="1"/>
                <Scale target="$parentSpark" startDelay="0.2" duration="0.2" scaleX="0.666666" scaleY="0.666666" order="1"/>
                <Alpha target="$parentSpark" startDelay="0.2" duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentInnerGlow" startDelay="0.3" duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentAnts"  startDelay="0.3" duration="0.2" change="1" order="1"/>
                <Scripts>
                    <OnPlay>
                        local frame = self:GetParent();
                        local frameWidth, frameHeight = frame:GetSize();
                        frame.spark:SetSize(frameWidth, frameHeight);
						frame.spark:SetAlpha(0.3)
                        frame.innerGlow:SetSize(frameWidth / 2, frameHeight / 2);
                        frame.innerGlow:SetAlpha(1.0);
                        --frame.innerGlowOver:SetAlpha(1.0);
                        frame.outerGlow:SetSize(frameWidth * 1, frameHeight * 1);
						frame.outerGlow:SetAlpha(1.0);
                        --frame.outerGlowOver:SetAlpha(1.0);
                        frame.ants:SetSize(frameWidth * 0.85, frameHeight * 0.85)
                        frame.ants:SetAlpha(0);
                        frame:Show();
                    </OnPlay>
                    <OnFinished>
                        local frame = self:GetParent();
                        local frameWidth, frameHeight = frame:GetSize();
                        frame.spark:SetAlpha(0);
                        frame.innerGlow:SetAlpha(0);
                        frame.innerGlow:SetSize(frameWidth, frameHeight);
                        --frame.innerGlowOver:SetAlpha(0.0);
                        frame.outerGlow:SetSize(frameWidth, frameHeight);
                        --frame.outerGlowOver:SetAlpha(0.0);
                        --frame.outerGlowOver:SetSize(frameWidth, frameHeight);
                        frame.ants:SetAlpha(1.0);
                    </OnFinished>
                </Scripts>
            </AnimationGroup>
            <AnimationGroup parentKey="animOut">
                <Alpha target="$parentOuterGlowOver" duration="0.2" change="1" order="1"/>
                <Alpha target="$parentAnts"  duration="0.2" change="-1" order="1"/>
                <Alpha target="$parentOuterGlowOver" duration="0.2" change="-1" order="2"/>
                <Alpha target="$parentOuterGlow" duration="0.2" change="-1" order="2"/>
                <Scripts>
                    <OnFinished>
                        EuiExecute:OverlayGlowAnimOutFinished(self);
                    </OnFinished>
                </Scripts>
            </AnimationGroup>
        </Animations>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture name="$parentSpark" parentKey="spark" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.61718750" top="0.00390625" bottom="0.26953125"/>
                </Texture>
            </Layer>
            <Layer level="ARTWORK">
                <Texture name="$parentInnerGlow" parentKey="innerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
                </Texture>
                <Texture name="$parentInnerGlowOver" parentKey="innerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentInnerGlow" relativePoint="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT" relativeTo="$parentInnerGlow" relativePoint="BOTTOMRIGHT"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
                </Texture>
                <Texture name="$parentOuterGlow" parentKey="outerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
                </Texture>
                <Texture name="$parentOuterGlowOver" parentKey="outerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentOuterGlow" relativePoint="TOPLEFT"/>
                        <Anchor point="BOTTOMRIGHT" relativeTo="$parentOuterGlow" relativePoint="BOTTOMRIGHT"/>
                    </Anchors>
                    <TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <Texture name="$parentAnts" parentKey="ants" file="Interface\SpellActivationOverlay\IconAlertAnts" alpha="0" setAllPoints="true">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
        <Scripts>
            <OnUpdate>
                AnimateTexCoords(self.ants, 256, 256, 48, 48, 22, elapsed, 0.01)
            </OnUpdate>
            <OnHide>
                if ( self.animOut:IsPlaying() ) then
                    self.animOut:Stop();
					EuiExecute:OverlayGlowAnimOutFinished(self.animOut);
                end
            </OnHide>
        </Scripts>
    </Frame>	

	<GameTooltip name="CompareTooltipTemplate" frameStrata="TOOLTIP" hidden="true" parent="UIParent" inherits="ShoppingTooltipTemplate" virtual="true">		
		<Scripts>
			<OnLoad>
				self:SetBackdropColor(0.0,0.0,0.5);
			</OnLoad>
		</Scripts>
	</GameTooltip>
	<GameTooltip name="ItemRefCompareTooltip1" parent="ItemRefTooltip" inherits="CompareTooltipTemplate"/>
	<GameTooltip name="ItemRefCompareTooltip2" parent="ItemRefTooltip" inherits="CompareTooltipTemplate"/>	
	
	<!--Script file="..\libs\LibQrcode\qrencode.lua"/>
	<Frame name="EuiQRCodesFrame" hidden="true" enableMouse="true">
		<Size>
			<AbsDimension x="180" y="180"/>
		</Size>
		<Backdrop bgFile="Interface\AchievementFrame\UI-Achievement-Parchment-Horizontal" edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
			<EdgeSize>
				<AbsValue val="20"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>
		<Frames>
			<Button name="viewFrame" parentKey="viewFrame">
				<Layers>
					<Layer>
						<Texture setAllPoints="true">
							<Color r="1.0" g="1.0" b="1.0" a="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<Anchors>
					<Anchor point="CENTER" relativeTo="viewFrame"/>
				</Anchors>
				<Size>
					<AbsDimension x="128" y="128"/>
				</Size>
			</Button>
		</Frames>
	</Frame-->
</Ui>